





'''simple docstring'''


def 		__a(SCREAMING_SNAKE_CASE_     :    Dict						,				SCREAMING_SNAKE_CASE_     :    Any			):



    '''simple docstring'''





    return base * power(__lowerCAmelCase						,				(exponent - 1)			) if exponent else 1


if __name__ == "__main__":
       print("Raise base to the power of exponent using recursion...")
       _SCREAMING_SNAKE_CASE		       =							int(input("Enter the base: ").strip())
       _SCREAMING_SNAKE_CASE		       =							int(input("Enter the exponent: ").strip())
       _SCREAMING_SNAKE_CASE		       =							power(base, abs(exponent))
       if exponent < 0:  # power() does not properly deal w/ negative exponents
              _SCREAMING_SNAKE_CASE		       =							1 / result
       print(f'''{base} to the power of {exponent} is {result}''')










def __A    (      __lowerCAmelCase	)->  list:





						"""simple docstring"""



						if len(__lowerCAmelCase	) < 2:
												return collection

						def circle_sort_util(__lowerCAmelCase ,		__lowerCAmelCase ,		__lowerCAmelCase	) -> bool:
												_UpperCAmelCase									=			False

												if low == high:
																		return swapped

												_UpperCAmelCase									=			low
												_UpperCAmelCase									=			high

												while left < right:
																		if collection[left] > collection[right]:
																								_UpperCAmelCase					, _UpperCAmelCase									=			(
																								    collection[right],
																								    collection[left],
																								)
																								_UpperCAmelCase									=			True

																		left += 1
																		right -= 1

												if left == right and collection[left] > collection[right + 1]:
																		_UpperCAmelCase					, _UpperCAmelCase									=			(
																		    collection[right + 1],
																		    collection[left],
																		)

																		_UpperCAmelCase									=			True

												_UpperCAmelCase									=			low + int((high - low) / 2	)
												_UpperCAmelCase									=			circle_sort_util(__lowerCAmelCase ,		__lowerCAmelCase ,		__lowerCAmelCase	)
												_UpperCAmelCase									=			circle_sort_util(__lowerCAmelCase ,		mid + 1 ,		__lowerCAmelCase	)

												return swapped or left_swap or right_swap

						_UpperCAmelCase									=			True

						while is_not_sorted is True:
												_UpperCAmelCase									=			circle_sort_util(__lowerCAmelCase ,		0 ,		len(__lowerCAmelCase	) - 1	)

						return collection


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