#include<bits/stdc++.h> using namespace std; int main(){ int x,n; cin>>x>>n; int b=pow(x,n); cout<<b; return 0; }