




"""simple docstring"""



def 						_SCREAMING_SNAKE_CASE     (							lowercase_    ,				lowercase_		)		->	int:
 A__ =       0
 for ele in arr:
  total_sum += product_sum(lowercase_    ,				depth + 1		) if isinstance(lowercase_    ,				lowercase_		) else ele
 return total_sum * depth







def 						_SCREAMING_SNAKE_CASE     (							lowercase_		)		->	int:
 return product_sum(lowercase_    ,				1		)


if __name__ == "__main__":
       import doctest

       doctest.testmod()











"""simple docstring"""



from transformers import PretrainedConfig




class 			UpperCAmelCase_						(		A_							):
    lowercase__		      =   '''custom'''




    def __init__(					self		: Any			,				snake_case_		: List[Any]=1			,				**snake_case_		: Any   )   ->							str:




     '''simple docstring'''

     A__ =       attribute
     super().__init__(**snake_case_   )






class 			UpperCAmelCase_						(		A_							):
    lowercase__		      =   '''custom'''




    def __init__(					self		: Any			,				snake_case_		: Tuple=1			,				**snake_case_		: Dict   )   ->							Any:




     '''simple docstring'''

     A__ =       attribute





