
from __future__ import annotations

from numpy import array, cos, cross, floataa, radians, sin
from numpy.typing import NDArray





def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase    ,		__lowerCAmelCase    ,		__lowerCAmelCase = False							):
    if radian_mode:
        return [magnitude * cos(__lowerCAmelCase							), magnitude * sin(__lowerCAmelCase							)]
    return [magnitude * cos(radians(__lowerCAmelCase							)							), magnitude * sin(radians(__lowerCAmelCase							)							)]





def 	SCREAMING_SNAKE_CASE__    (      __lowerCAmelCase    ,		__lowerCAmelCase    ,		__lowerCAmelCase = 10**-1							):
    snake_case__						=				cross(__lowerCAmelCase    ,		__lowerCAmelCase							)
    snake_case__						=				sum(__lowerCAmelCase							)
    return abs(__lowerCAmelCase							) < eps


if __name__ == "__main__":
     # Test to check if it works
     __magic_name__            =  array(
         [
             polar_force(718.4, 180 - 30),
             polar_force(879.54, 45),
             polar_force(100, -90),
         ]
     )

     __magic_name__            =  array([[0, 0], [0, 0], [0, 0]])

     assert in_static_equilibrium(forces, location)

     # Problem 1 in image_data/2D_problems.jpg
     __magic_name__            =  array(
         [
             polar_force(30 * 9.8_1, 15),
             polar_force(215, 180 - 45),
             polar_force(264, 90 - 30),
         ]
     )

     __magic_name__            =  array([[0, 0], [0, 0], [0, 0]])

     assert in_static_equilibrium(forces, location)

     # Problem in image_data/2D_problems_1.jpg
     __magic_name__            =  array([[0, -2_000], [0, -1_200], [0, 15_600], [0, -12_400]])

     __magic_name__            =  array([[0, 0], [6, 0], [10, 0], [12, 0]])

     assert in_static_equilibrium(forces, location)

     import doctest

     doctest.testmod()





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())))



