#include<iostream> using namespace std; int main(){ int x,n,r=1; cin>>x>>n; for(int i=1;i<=n;i++){ r*=x; } cout<<r; }