




from ..utils import DummyObject, requires_backends
class 			a__    (					metaclass=snake_case__      ):
						_a							:    Any					=    ["""flax"""]






						def __init__(   self		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(self		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






class 			a__    (					metaclass=snake_case__      ):
						_a							:    int					=    ["""flax"""]






						def __init__(   self		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(self		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






class 			a__    (					metaclass=snake_case__      ):
						_a							:    Union[str, Any]					=    ["""flax"""]






						def __init__(   self		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(self		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






class 			a__    (					metaclass=snake_case__      ):
						_a							:    int					=    ["""flax"""]






						def __init__(   self		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(self		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






class 			a__    (					metaclass=snake_case__      ):
						_a							:    int					=    ["""flax"""]






						def __init__(   self		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(self		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






class 			a__    (					metaclass=snake_case__      ):
						_a							:    Tuple					=    ["""flax"""]






						def __init__(   self		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(self		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






class 			a__    (					metaclass=snake_case__      ):
						_a							:    List[Any]					=    ["""flax"""]






						def __init__(   self		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(self		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






class 			a__    (					metaclass=snake_case__      ):
						_a							:    int					=    ["""flax"""]






						def __init__(   self		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(self		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






class 			a__    (					metaclass=snake_case__      ):
						_a							:    Tuple					=    ["""flax"""]






						def __init__(   self		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(self		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






class 			a__    (					metaclass=snake_case__      ):
						_a							:    Optional[int]					=    ["""flax"""]






						def __init__(   self		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(self		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






class 			a__    (					metaclass=snake_case__      ):
						_a							:    str					=    ["""flax"""]






						def __init__(   self		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(self		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






class 			a__    (					metaclass=snake_case__      ):
						_a							:    str					=    ["""flax"""]






						def __init__(   self		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(self		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






class 			a__    (					metaclass=snake_case__      ):
						_a							:    List[str]					=    ["""flax"""]






						def __init__(   self		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(self		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)






						@classmethod
						def 				__SCREAMING_SNAKE_CASE(   cls		,			*_A		,			**_A			):




											"""simple docstring"""



											requires_backends(cls		,			["flax"]			)









'''simple docstring'''





def    _SCREAMING_SNAKE_CASE  (       UpperCamelCase			):



    """simple docstring"""





    lowerCAmelCase__ :  Tuple							      =					abs(UpperCamelCase			)
    lowerCAmelCase__ :  List[Any]							      =					0
    while n > 0:
        res += n % 10
        n //= 10
    return res
def    _SCREAMING_SNAKE_CASE  (       UpperCamelCase			):



    """simple docstring"""





    lowerCAmelCase__ :  Union[str, Any]							      =					abs(UpperCamelCase			)
    return n if n < 10 else n % 10 + sum_of_digits(n // 10			)
def    _SCREAMING_SNAKE_CASE  (       UpperCamelCase			):



    """simple docstring"""





    return sum(int(UpperCamelCase			) for c in str(abs(UpperCamelCase			)			)			)
def    _SCREAMING_SNAKE_CASE  (       ):



    """simple docstring"""





    from collections.abc import Callable
    from timeit import timeit

    def benchmark_a_function(UpperCamelCase							,    UpperCamelCase			) -> None:
        lowerCAmelCase__ :  str							      =					f"""{func.__name__}({value})"""
        lowerCAmelCase__ :  str							      =					timeit(f"""__main__.{call}"""							,    setup="""import __main__"""			)
        print(f"""{call:56} = {func(UpperCamelCase			)} -- {timing:.4f} seconds"""			)

    for value in (262144, 1125899906842624, 1267650600228229401496703205376):
        for func in (sum_of_digits, sum_of_digits_recursion, sum_of_digits_compact):
            benchmark_a_function(UpperCamelCase							,    UpperCamelCase			)
        print()


if __name__ == "__main__":
 import doctest

 doctest.testmod()
 benchmark()


