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