x,n=input().split() x=int(x) n=int(n) def yunsuan(x,n): if n==0: return 1 elif n>=1: if n==1: return x return x*yunsuan(x,n-1) print(yunsuan(x,n))