


'''simple docstring'''







from __future__ import annotations







def _UpperCamelCase       (     __A      ,			__A = None      ,			__A = None    )							->		None:


      '''simple docstring'''



      if start is None:
            UpperCamelCase__										=				0

      if end is None:
            UpperCamelCase__										=				len(__A    ) - 1

      if start >= end:
            return

      UpperCamelCase__										=				(start + end) // 2

      slowsort(__A      ,			__A      ,			__A    )
      slowsort(__A      ,			mid + 1      ,			__A    )

      if sequence[end] < sequence[mid]:
            UpperCamelCase__					,	UpperCamelCase__										=				sequence[mid], sequence[end]

      slowsort(__A      ,			__A      ,			end - 1    )


if __name__ == "__main__":
  from doctest import testmod

  testmod()












def  _SCREAMING_SNAKE_CASE				(   a  )      ->      Tuple:
					__A    ,				__A	:						Optional[Any]       =				[], []
					while len(a  ) > 1:
										__A    ,				__A	:						Any       =				min(a  ), max(a  )
										start.append(a  )
										end.append(a  )
										collection.remove(a  )
										collection.remove(a  )
					end.reverse()
					return start + collection + end


if __name__ == "__main__":
				UpperCAmelCase						:   int			  =     input('''Enter numbers separated by a comma:\n''').strip()
				UpperCAmelCase						:   Dict			  =     [int(item) for item in user_input.split(''',''')]
				print(*merge_sort(unsorted), sep=''',''')




