#include using namespace std; int main() { long long int k; scanf("%lld",&k); printf("%lld",k*k*k); }