#include using namespace std; int main() { unsigned long k; cin>>k; cout << k*k*k << endl; return 0; }