






'''simple docstring'''
def 	_a(					UpperCamelCase__			:  list[int],		UpperCamelCase__			:  str							):




      '''simple docstring'''






      SCREAMING_SNAKE_CASE__       :			Union[str, Any]													=int(lowerCAmelCase__							)

      # Initialize Result
      SCREAMING_SNAKE_CASE__       :			List[Any]													=[]

      # Traverse through all denomination
      for denomination in reversed(lowerCAmelCase__							):
            # Find denominations
            while int(lowerCAmelCase__							) >= int(lowerCAmelCase__							):
                  total_value -= int(lowerCAmelCase__							)
                  answer.append(lowerCAmelCase__							)  # Append the "answers" array

      return answer


# Driver Code
if __name__ == "__main__":
      a_					=	[]
      a_					=	"""0"""

      if (
          input('Do you want to enter your denominations ? (yY/n): ').strip().lower()
          == "y"
      ):
            a_					=	int(input('Enter the number of denominations you want to add: ').strip())

            for i in range(0, n):
                  denominations.append(int(input(F'''Denomination {i}: ''').strip()))
            a_					=	input('Enter the change you want to make in Indian Currency: ').strip()
      else:
            # All denominations of Indian Currency if user does not enter
            a_					=	[1, 2, 5, 1_0, 2_0, 5_0, 1_0_0, 5_0_0, 2_0_0_0]
            a_					=	input('Enter the change you want to make: ').strip()

      if int(value) == 0 or int(value) < 0:
            print('The total value cannot be zero or negative.')

      else:
            print(F'''Following is minimal change for {value}: ''')
            a_					=	find_minimum_change(denominations, value)
            # Print result
            for i in range(len(answer)):
                  print(answer[i], end=' ')







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