
"""simple docstring"""





import math
def 				A_  (__a					):

					'''simple docstring'''





					A_								=    0
					A_								=    0
					while num > 0:
										A_								=    num % 8
										A_								=    octal + (remainder * math.floor(math.pow(10					, __a					)					))
										counter += 1
										A_								=    math.floor(num / 8					)  # basically /= 8 without remainder if any
										# This formatting removes trailing '.0' from `octal`.
					return f'0o{int(__a					)}'
def 				A_  ():

					'''simple docstring'''





					print("\n2 in octal is:"					)
					print(decimal_to_octal(2					)					)  # = 2
					print("\n8 in octal is:"					)
					print(decimal_to_octal(8					)					)  # = 10
					print("\n65 in octal is:"					)
					print(decimal_to_octal(65					)					)  # = 101
					print("\n216 in octal is:"					)
					print(decimal_to_octal(216					)					)  # = 330
					print("\n512 in octal is:"					)
					print(decimal_to_octal(512					)					)  # = 1000
					print("\n"					)


if __name__ == "__main__":
		main()






"""simple docstring"""





def 				A_  (__a					):

					'''simple docstring'''





					A_								=    len(__a					)
					while cur > 1:
										# Find the maximum number in arr
										A_								=    arr.index(max(arr[0:cur]					)					)
										# Reverse from 0 to mi
										A_								=    arr[mi::-1] + arr[mi + 1 : len(__a					)]
										# Reverse whole list
										A_								=    arr[cur - 1 :: -1] + arr[cur : len(__a					)]
										cur -= 1
					return arr


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




