




def 			_SCREAMING_SNAKE_CASE			(							lowercase	:       int     ):


      '''simple docstring'''



      lowerCamelCase_		     =    abs(lowercase     )
      lowerCamelCase_		     =    0
      while n > 0:
            res += n % 10
            n //= 10
      return res

def 			_SCREAMING_SNAKE_CASE			(							lowercase	:       int     ):


      '''simple docstring'''



      lowerCamelCase_		     =    abs(lowercase     )
      return n if n < 10 else n % 10 + sum_of_digits(n // 10     )

def 			_SCREAMING_SNAKE_CASE			(							lowercase	:       int     ):


      '''simple docstring'''



      return sum(int(lowercase     ) for c in str(abs(lowercase     )     )     )

def 			_SCREAMING_SNAKE_CASE			(							):


      '''simple docstring'''



      from collections.abc import Callable
      from timeit import timeit

      def benchmark_a_function(lowercase	:       Callable	,							lowercase	:       int     ) -> None:
            lowerCamelCase_		     =    f"""{func.__name__}({value})"""
            lowerCamelCase_		     =    timeit(f"""__main__.{call}"""	,							setup='import __main__'     )
            print(f"""{call:56} = {func(lowercase     )} -- {timing:.4f} seconds"""     )

      for value in (26_21_44, 11_25_89_99_06_84_26_24, 1_26_76_50_60_02_28_22_94_01_49_67_03_20_53_76):
            for func in (sum_of_digits, sum_of_digits_recursion, sum_of_digits_compact):
                  benchmark_a_function(lowercase	,							lowercase     )
            print()


if __name__ == "__main__":
 import doctest

 doctest.testmod()
 benchmark()









def 			_SCREAMING_SNAKE_CASE			(							lowercase	:       int	,							lowercase	:       int     ):


      '''simple docstring'''



      return int((input_a, input_a).count(1     ) != 0     )

def 			_SCREAMING_SNAKE_CASE			(							):


      '''simple docstring'''



      assert or_gate(0	,							0     ) == 0
      assert or_gate(0	,							1     ) == 1
      assert or_gate(1	,							0     ) == 1
      assert or_gate(1	,							1     ) == 1


if __name__ == "__main__":
 print(or_gate(0, 1))
 print(or_gate(1, 0))
 print(or_gate(0, 0))
 print(or_gate(1, 1))



