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