#include <iostream> using namespace std; int main() { int a; cin >> a; int v = a * a * a; cout << v; }