#include <iostream>

using namespace std;


int main() {
    long k;
    cin >> k;
    cout<<k*k*k;
    return 0;
}