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