




'''simple docstring'''







def 						_A      ( UpperCAmelCase						):






   '''simple docstring'''







   def merge(UpperCAmelCase      ,UpperCAmelCase						) -> 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(_lowerCAmelCase						) <= 1:
      return collection
   A__       =     len(_lowerCAmelCase						) // 2
   return merge(merge_sort(collection[:mid]						)      ,merge_sort(collection[mid:]						)						)


if __name__ == "__main__":
    import doctest

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






A				:       Any      =  '\n# Transformers installation\n! pip install transformers datasets\n# To install from source instead of the last release, comment the command above and uncomment the following one.\n# ! pip install git+https://github.com/huggingface/transformers.git\n'

A				:       Optional[int]      =  [{'type': 'code', 'content': INSTALL_CONTENT}]
A				:       Optional[int]      =  {
    '{processor_class}': 'FakeProcessorClass',
    '{model_class}': 'FakeModelClass',
    '{object_class}': 'FakeObjectClass',
}





