






'''simple docstring'''






from __future__ import annotations




def        _SCREAMING_SNAKE_CASE  (				A  :       list[int]  ,		A  :       list[int]  ,		A  :       int  )    -> tuple[float, list[float]]:







   """simple docstring"""
   __snake_case				:      Any     							= list(range(len(A  )  )  )
   __snake_case				:      Optional[int]     							= [v / w for v, w in zip(A  ,		A  )]
   index.sort(key=lambda A  : ratio[i]  ,		reverse=A  )

   __snake_case				:      float     							= 0
   __snake_case				:      list[float]     							= [0] * len(A  )
   for i in index:
      if weight[i] <= capacity:
         __snake_case				:      Union[str, Any]     							= 1
         max_value += value[i]
         capacity -= weight[i]
      else:
         __snake_case				:      Optional[Any]     							= capacity / weight[i]
         max_value += value[i] * capacity / weight[i]
         break

   return max_value, fractions


if __name__ == "__main__":
      import doctest

      doctest.testmod()







'''simple docstring'''






def        _SCREAMING_SNAKE_CASE  (				A  :       int  )    -> int:







   """simple docstring"""
   __snake_case				:      str     							= 1
   for i in range(1  ,		num + 1  ):
      fact *= i
   return fact




def        _SCREAMING_SNAKE_CASE  (				A  :       int  )    -> int:







   """simple docstring"""
   __snake_case				:      Union[str, Any]     							= 0
   while number > 0:
      __snake_case				:      Dict     							= number % 10
      sum_of_digits += last_digit
      __snake_case				:      Union[str, Any]     							= number // 10  # Removing the last_digit from the given number
   return sum_of_digits




def        _SCREAMING_SNAKE_CASE  (				A  :       int = 1_00  )    -> int:







   """simple docstring"""
   __snake_case				:      List[Any]     							= factorial(A  )
   __snake_case				:      Dict     							= split_and_add(A  )
   return result


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