#include<iostream> #include<cmath> using namespace std; int main(){ int n,m; cin>>n; cin>>m; cout<<pow(n,m); return 0; }