
'''simple docstring'''







def  snake_case_		(    __SCREAMING_SNAKE_CASE :			int							):



						"""simple docstring"""





						lowercase_     :					List[Any]													=	abs(__SCREAMING_SNAKE_CASE							)
						lowercase_     :					Any													=	0
						while n > 0:
												res += n % 10
												n //= 10
						return res
def  snake_case_		(    __SCREAMING_SNAKE_CASE :			int							):



						"""simple docstring"""





						lowercase_     :					List[Any]													=	abs(__SCREAMING_SNAKE_CASE							)
						return n if n < 10 else n % 10 + sum_of_digits(n // 10							)
def  snake_case_		(    __SCREAMING_SNAKE_CASE :			int							):



						"""simple docstring"""





						return sum(int(__SCREAMING_SNAKE_CASE							) for c in str(abs(__SCREAMING_SNAKE_CASE							)							)							)
def  snake_case_		(    ):



						"""simple docstring"""





						from collections.abc import Callable
						from timeit import timeit

						def benchmark_a_function(__SCREAMING_SNAKE_CASE :			Callable				,				__SCREAMING_SNAKE_CASE :			int							) -> None:
												lowercase_     :					Any													=	F'''{func.__name__}({value})'''
												lowercase_     :					List[Any]													=	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()





'''simple docstring'''







def  snake_case_		(    __SCREAMING_SNAKE_CASE :			str							):



						"""simple docstring"""





						assert column_title.isupper()
						lowercase_     :					Dict													=	0
						lowercase_     :					Tuple													=	len(__SCREAMING_SNAKE_CASE							) - 1
						lowercase_     :					Optional[int]													=	0

						while index >= 0:
												lowercase_     :					Optional[Any]													=	(ord(column_title[index]							) - 64) * pow(26				,				__SCREAMING_SNAKE_CASE							)
												answer += value
												power += 1
												index -= 1

						return answer


if __name__ == "__main__":
							from doctest import testmod

							testmod()



