


def _UpperCamelCase	(					__A				,      __A   )							->		Union[str, Any]:


      '''simple docstring'''



      UpperCamelCase__  =    0
      for ele in arr:
            total_sum += product_sum(_lowerCAmelCase				,      depth + 1   ) if isinstance(_lowerCAmelCase				,      _lowerCAmelCase   ) else ele
      return total_sum * depth







def _UpperCamelCase	(					__A   )							->		List[str]:


      '''simple docstring'''



      return product_sum(_lowerCAmelCase				,      1   )


if __name__ == "__main__":
  import doctest

  doctest.testmod()









'''simple docstring'''







from itertools import permutations







def _UpperCamelCase	(					)							->		Optional[int]:


      '''simple docstring'''



      UpperCamelCase__  =    list(map("".join				,      permutations("0123456789"   )   )   )
      return result[999999]


if __name__ == "__main__":
  print(solution())





