#include<bits/stdc++.h>
using namespace std;
#define lli long long int
#define phbk push_back
#define mp make_pair
#define F first
#define S second
#define mod 1000000007
int main()
{
	lli x;
	cin>>x;
	cout<<x*x*x;
}