
def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase							):
    snake_case__						=				abs(lowerCamelCase__							)
    snake_case__						=				0
    while n > 0:
        res += n % 10
        n //= 10
    return res





def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase							):
    snake_case__						=				abs(lowerCamelCase__							)
    return n if n < 10 else n % 10 + sum_of_digits(n // 10							)





def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase							):
    return sum(int(lowerCamelCase__							) for c in str(abs(lowerCamelCase__							)							)							)





def 	SCREAMING_SNAKE_CASE__    (      ):
    from collections.abc import Callable
    from timeit import timeit

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

    for value in (262_144, 1_125_899_906_842_624, 1_267_650_600_228_229_401_496_703_205_376):
        for func in (sum_of_digits, sum_of_digits_recursion, sum_of_digits_compact):
            benchmark_a_function(lowerCamelCase__    ,		lowerCamelCase__							)
        print()


if __name__ == "__main__":
     import doctest

     doctest.testmod()
     benchmark()





from math import factorial





def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase = 100							):
    return sum(int(__lowerCAmelCase							) for x in str(factorial(__lowerCAmelCase							)							)							)


if __name__ == "__main__":
     print(solution(int(input('''Enter the Number: ''').strip())))



