n,m;x=1;main(){scanf("%d%d",&m,&n);while(n--)x*=m;printf("%d\n",n);}