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