import sys input = sys.stdin.readline eps=0.0000000000000000000000001 A,B=map(float,input().split()) if B>5: B-=int(B) x=A**B if abs(round(x)-x)