while True: try: a, b = input().split() a, b = int(a), int(b) print(a ** b) except: break
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up