

def 						_snake_case(   SCREAMING_SNAKE_CASE__      :     int				)							->				int:





    '''simple docstring'''






    A__   				=       abs(SCREAMING_SNAKE_CASE__				)
    A__   				=       0
    while n > 0:
        res += n % 10
        n //= 10
    return res
def 						_snake_case(   SCREAMING_SNAKE_CASE__      :     int				)							->				int:





    '''simple docstring'''






    A__   				=       abs(SCREAMING_SNAKE_CASE__				)
    return n if n < 10 else n % 10 + sum_of_digits(n // 10				)
def 						_snake_case(   SCREAMING_SNAKE_CASE__      :     int				)							->				int:





    '''simple docstring'''






    return sum(int(SCREAMING_SNAKE_CASE__				) for c in str(abs(SCREAMING_SNAKE_CASE__				)				)				)
def 						_snake_case(   )							->				None:





    '''simple docstring'''






    from collections.abc import Callable
    from timeit import timeit

    def benchmark_a_function(SCREAMING_SNAKE_CASE__      :     Callable   ,      SCREAMING_SNAKE_CASE__      :     int				) -> None:
        A__   				=       f'{func.__name__}({value})'
        A__   				=       timeit(f'__main__.{call}'   ,      setup='import __main__'				)
        print(f'{call:56} = {func(SCREAMING_SNAKE_CASE__				)} -- {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(SCREAMING_SNAKE_CASE__   ,      SCREAMING_SNAKE_CASE__				)
        print()


if __name__ == "__main__":
     import doctest

     doctest.testmod()
     benchmark()




from __future__ import annotations

from typing import Any
def 						_snake_case(   SCREAMING_SNAKE_CASE__      :     list				)							->				int:





    '''simple docstring'''






    if not postfix_notation:
        return 0

    A__   				=       {'+', '-', '*', '/'}
    A__   				=       []

    for token in postfix_notation:
        if token in operations:
            A__				,						A__   				=       stack.pop(), stack.pop()
            if token == "+":
                stack.append(a + b				)
            elif token == "-":
                stack.append(a - b				)
            elif token == "*":
                stack.append(a * b				)
            else:
                if a * b < 0 and a % b != 0:
                    stack.append(a // b + 1				)
                else:
                    stack.append(a // b				)
        else:
            stack.append(int(SCREAMING_SNAKE_CASE__				)				)

    return stack.pop()


if __name__ == "__main__":
     import doctest

     doctest.testmod()

