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