


from math import factorial

def 						_UpperCAmelCase				(			SCREAMING_SNAKE_CASE__			:					int = 1_00				):
     return sum(map(SCREAMING_SNAKE_CASE__			,     str(factorial(SCREAMING_SNAKE_CASE__				)				)				)				)


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









def 						_UpperCAmelCase				(			SCREAMING_SNAKE_CASE__			:					int = 10**12				):
     __UpperCamelCase    							=1
     __UpperCamelCase    							=0

     __UpperCamelCase    							=1
     __UpperCamelCase    							=1

     while numerator <= 2 * min_total - 1:
          prev_numerator += 2 * numerator
          numerator += 2 * prev_numerator

          prev_denominator += 2 * denominator
          denominator += 2 * prev_denominator

     return (denominator + 1) // 2


if __name__ == "__main__":
   print(f"""{solution() = }""")





