#include<iostream> using namespace std; int main() { int a,n; cin>>a>>n; int result=1; for(int i=0;i<n;i++){ result*=a; } cout<<result<<endl; return 0; }