


'''simple docstring'''
def       a				(      __a       )  ->     Optional[int]:



					'''simple docstring'''






					UpperCamelCase__       :int							 =			[], []
					while len(__a       ) > 1:
										UpperCamelCase__       :Optional[int]							 =			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__":
		__snake_case											=					input('''Enter numbers separated by a comma:\n''').strip()
		__snake_case											=					[int(item) for item in user_input.split(''',''')]
		print(*merge_sort(unsorted), sep=''',''')



'''simple docstring'''
from typing import TYPE_CHECKING

from ...utils import _LazyModule


__snake_case											=					{'''tokenization_wav2vec2_phoneme''': ['''Wav2Vec2PhonemeCTCTokenizer''']}


if TYPE_CHECKING:
		from .tokenization_wavaveca_phoneme import WavaVecaPhonemeCTCTokenizer
else:
		import sys

		__snake_case											=					_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)