#include <bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; long num=a; for(int i=1;i<=a;i++)num*=a; cout<<num; return 0; }