

"""simple docstring"""





def   _A  (  UpperCamelCase_     :       Any)	->						List[str]:
   '''simple docstring'''


   __lowercase		,__lowercase								=						[], []
   while len(UpperCamelCase_) > 1:
      __lowercase		,__lowercase								=						min(UpperCamelCase_), max(UpperCamelCase_)
      start.append(UpperCamelCase_)
      end.append(UpperCamelCase_)
      collection.remove(UpperCamelCase_)
      collection.remove(UpperCamelCase_)
   end.reverse()
   return start + collection + end


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








"""simple docstring"""




def     lowercase			(SCREAMING_SNAKE_CASE_		:				int = 10_00  )   ->						int:
						SCREAMING_SNAKE_CASE													=					2**power
						SCREAMING_SNAKE_CASE													=					0
						while n:
												SCREAMING_SNAKE_CASE							,				SCREAMING_SNAKE_CASE													=					r + n % 10, n // 10
						return r


if __name__ == "__main__":
	print(solution(int(str(input()).strip())))


