




def lowercase    (  SCREAMING_SNAKE_CASE       ,    SCREAMING_SNAKE_CASE       ,    SCREAMING_SNAKE_CASE )			->							int:


			'''simple docstring'''







			if exponent == 1:
						return base
			if exponent % 2 == 0:
						SCREAMING_SNAKE_CASE_								=						_modexpt(SCREAMING_SNAKE_CASE       ,    exponent // 2       ,    SCREAMING_SNAKE_CASE ) % modulo_value
						return (x * x) % modulo_value
			else:
						return (base * _modexpt(SCREAMING_SNAKE_CASE       ,    exponent - 1       ,    SCREAMING_SNAKE_CASE )) % modulo_value

def lowercase    (  SCREAMING_SNAKE_CASE = 17_77       ,    SCREAMING_SNAKE_CASE = 18_55       ,    SCREAMING_SNAKE_CASE = 8 )			->							int:


			'''simple docstring'''







			SCREAMING_SNAKE_CASE_								=						base
			for _ in range(1       ,    SCREAMING_SNAKE_CASE ):
						SCREAMING_SNAKE_CASE_								=						_modexpt(SCREAMING_SNAKE_CASE       ,    SCREAMING_SNAKE_CASE       ,    10**digits )

			return result


if __name__ == "__main__":
				print(f"""{solution() = }""")






def lowercase    (  SCREAMING_SNAKE_CASE )			->							str:


			'''simple docstring'''







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


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