






'''simple docstring'''
a_					=	'Tobias Carryer'

from time import time






class        __SCREAMING_SNAKE_CASE :




 def __init__( self		:							Tuple   , __lowercase		:							Optional[Any]   , __lowercase		:							Tuple   , __lowercase		:							List[Any]   , __lowercase		:							Optional[Any]=int(time() ) )		->  Dict:  # noqa: B008
       SCREAMING_SNAKE_CASE__       :			str													=multiplier
       SCREAMING_SNAKE_CASE__       :			List[Any]													=increment
       SCREAMING_SNAKE_CASE__       :			str													=modulo
       SCREAMING_SNAKE_CASE__       :			Optional[Any]													=seed




 def        __magic_name__		( self		:							Tuple )		->  List[Any]:
       SCREAMING_SNAKE_CASE__       :			Optional[Any]													=(self.multiplier * self.seed + self.increment) % self.modulo
       return self.seed


if __name__ == "__main__":
      # Show the LCG in action.
      a_					=	LinearCongruentialGenerator(1_6_6_4_5_2_5, 1_0_1_3_9_0_4_2_2_3, 2 << 3_1)
      while True:
            print(lcg.next_number())







'''simple docstring'''
from math import factorial





def 	_a(					UpperCamelCase__			:  int = 1_0_0							):




      '''simple docstring'''






      return sum(int(UpperCamelCase__							) for x in str(factorial(UpperCamelCase__							)							)							)


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