






def 						A_					(						lowercase_			)				->int:







 """simple docstring"""

 SCREAMING_SNAKE_CASE				    =		str(lowercase_			).strip()
 if not oct_string:
  raise ValueError('Empty string was passed to the function'			)
 SCREAMING_SNAKE_CASE				    =		oct_string[0] == '-'
 if is_negative:
  SCREAMING_SNAKE_CASE				    =		oct_string[1:]
 if not oct_string.isdigit() or not all(0 <= int(lowercase_			) <= 7 for char in oct_string			):
  raise ValueError('Non-octal value was passed to the function'			)
 SCREAMING_SNAKE_CASE				    =		0
 for char in oct_string:
  SCREAMING_SNAKE_CASE				    =		8 * decimal_number + int(lowercase_			)
 if is_negative:
  SCREAMING_SNAKE_CASE				    =		-decimal_number
 return decimal_number


if __name__ == "__main__":
      from doctest import testmod

      testmod()










def        lowerCamelCase_     (     SCREAMING_SNAKE_CASE       ,						SCREAMING_SNAKE_CASE ):
			'''simple docstring'''
			if n == 0:
						return 1

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

			else:
						SCREAMING_SNAKE_CASE     =       binary_exponentiation(SCREAMING_SNAKE_CASE       ,						n / 2 )
						return b * b


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

		__A    :				Union[str, Any]    						=	binary_exponentiation(BASE, POWER)
		print(f'''{BASE}^({POWER}) : {RESULT}''')






