#include using namespace std; int main(){ int k; scanf("%d", &k); printf("%lld", 1LL*k*k*k); return 0; }