#include<cstdio> using namespace std; int main() { int a,n,s; scanf("%d%d",&a,&n); for(int i=1;i<=n;i++) { s*=a; } printf("%d",s); return 0; }