





"""simple docstring"""




def 			a_							(				_lowercase			,		_lowercase  ):
						if n == 0:
												return 1

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

						else:
												_UpperCamelCase     :   int      =       binary_exponentiation(_lowercase			,		n / 2  )
												return b * b


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

						UpperCamelCase_	 =binary_exponentiation(BASE, POWER)
						print(F"{BASE}^({POWER}) : {RESULT}")









def    snake_case   (				A     )				->				str:




	'''simple docstring'''


	if not isinstance(A		,  A     ):
		lowerCamelCase_				:						int				  =				(
		    'operation can not be conducted on a object of type '
		    f"{type(A     ).__name__}"
		)
		raise TypeError(A     )
	lowerCamelCase_				:						List[Any]				  =				''
	for _ in range(0		,  32     ):
		bit_string += str(number % 2     )
		lowerCamelCase_				:						int				  =				number >> 1
	return bit_string






def    snake_case   (				A     )				->				str:




	'''simple docstring'''


	if number < 0:
		raise ValueError('the value of input must be positive'     )
	elif isinstance(A		,  A     ):
		raise TypeError('Input value must be a \'int\' type'     )
	elif isinstance(A		,  A     ):
		raise TypeError('\'<\' not supported between instances of \'str\' and \'int\''     )
	lowerCamelCase_				:						Any				  =				0
	# iterator over [1 to 32],since we are dealing with 32 bit integer
	for _ in range(1		,  33     ):
		# left shift the bits by unity
		lowerCamelCase_				:						Any				  =				result << 1
		# get the end bit
		lowerCamelCase_				:						Any				  =				number % 2
		# right shift the bits by unity
		lowerCamelCase_				:						Optional[Any]				  =				number >> 1
		# add that bit to our ans
		lowerCamelCase_				:						Dict				  =				result | end_bit
	return get_reverse_bit_string(A     )


if __name__ == "__main__":
							import doctest

							doctest.testmod()
