

"""simple docstring"""



def  _snake_case     (    UpperCAmelCase_  :					list			):

     def merge(UpperCAmelCase_  :					list					,   UpperCAmelCase_  :					list			) -> list:

          def _merge():
               while left and right:
                    yield (left if left[0] <= right[0] else right).pop(0			)
               yield from left
               yield from right

          return list(_merge()			)

     if len(UpperCAmelCase_			) <= 1:
          return collection
     A__										=  len(UpperCAmelCase_			) // 2
     return merge(merge_sort(collection[:mid]			)					,   merge_sort(collection[mid:]			)			)


if __name__ == "__main__":
 import doctest

 doctest.testmod()
 SCREAMING_SNAKE_CASE_					:	List[Any]		  =						input('Enter numbers separated by a comma:\n').strip()
 SCREAMING_SNAKE_CASE_					:	List[str]		  =						[int(item) for item in user_input.split(',')]
 print(*merge_sort(unsorted), sep=',')









"""simple docstring"""



def  _snake_case     (    UpperCAmelCase_  :					int			):
     A__										=  1
     for i in range(1					,   num + 1			):
          fact *= i
     return fact





def  _snake_case     (    UpperCAmelCase_  :					int			):
     A__										=  0
     while number > 0:
          A__										=  number % 10
          sum_of_digits += last_digit
          A__										=  number // 10  # Removing the last_digit from the given number
     return sum_of_digits





def  _snake_case     (    UpperCAmelCase_  :					int = 100			):
     A__										=  factorial(UpperCAmelCase_			)
     A__										=  split_and_add(UpperCAmelCase_			)
     return result


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






