"""simple docstring"""







import re


def   __lowerCAmelCase(		__UpperCAmelCase      ):






	"""simple docstring"""





	def docstring_decorator(__UpperCAmelCase      ):
		_lowercase			:     str      					=				fn.__doc__
		_lowercase			:     Dict      					=				func_doc.split('\n'      )
		_lowercase			:     Dict      					=				0
		while i < len(__UpperCAmelCase      ) and re.search(R'^\s*Examples?:\s*$'  ,lines[i]      ) is None:
			i += 1
		if i < len(__UpperCAmelCase      ):
			_lowercase			:     Tuple      					=				example_docstring
			_lowercase			:     Optional[Any]      					=				'\n'.join(__UpperCAmelCase      )
		else:
			raise ValueError(
			    F'''The function {fn} should have an empty \'Examples:\' in its docstring as placeholder, '''
			    F'''current docstring is:\n{func_doc}'''      )
		_lowercase			:     Union[str, Any]      					=				func_doc
		return fn

	return docstring_decorator




"""simple docstring"""







def   __lowerCAmelCase(		__UpperCAmelCase  ,__UpperCAmelCase      ):






	"""simple docstring"""





	if n == 0:
		return 1

	elif n % 2 == 1:
		return binary_exponentiation(__UpperCAmelCase  ,n - 1      ) * a

	else:
		_lowercase			:     Dict      					=				binary_exponentiation(__UpperCAmelCase  ,n / 2      )
		return b * b


if __name__ == "__main__":
						try:
												SCREAMING_SNAKE_CASE						=    int(input('Enter Base : ').strip())
												SCREAMING_SNAKE_CASE						=    int(input('Enter Power : ').strip())
						except ValueError:
												print('Invalid literal for integer')

						SCREAMING_SNAKE_CASE						=    binary_exponentiation(BASE, POWER)
						print(f"""{BASE}^({POWER}) : {RESULT}""")



