



"""simple docstring"""

def 							SCREAMING_SNAKE_CASE__      (		SCREAMING_SNAKE_CASE__ :  Union[str, Any]			):



					"""simple docstring"""





					snake_case_					:		Optional[int] 					=					len(SCREAMING_SNAKE_CASE__			)
					while cur > 1:
										# Find the maximum number in arr
										snake_case_					:		Union[str, Any] 					=					arr.index(max(arr[0:cur]			)			)
										# Reverse from 0 to mi
										snake_case_					:		int 					=					arr[mi::-1] + arr[mi + 1 : len(SCREAMING_SNAKE_CASE__			)]
										# Reverse whole list
										snake_case_					:		Dict 					=					arr[cur - 1 :: -1] + arr[cur : len(SCREAMING_SNAKE_CASE__			)]
										cur -= 1
					return arr


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









"""simple docstring"""

def 							SCREAMING_SNAKE_CASE__      (		SCREAMING_SNAKE_CASE__ :  int				,    SCREAMING_SNAKE_CASE__ :  int			):



					"""simple docstring"""





					return numa ^ numa < 0


if __name__ == "__main__":
			import doctest

			doctest.testmod()




