class Main
{
	public static void main(String[] args) throws java.io.IOException
	{
		java.io.BufferedReader br = new java.io.BufferedReader( new java.io.InputStreamReader( System.in ) );
		
		int x = Integer.parseInt( br.readLine() );
		System.out.println( (int) Math.pow( x, 3 ) );
	}
} class Main
{
	public static void main(String[] args) throws java.io.IOException
	{
		java.io.BufferedReader br = new java.io.BufferedReader( new java.io.InputStreamReader( System.in ) );
		
		int x = Integer.parseInt( br.readLine() );
		System.out.println( (int) Math.pow( x, 3 ) );
	}
} Main public static void main(String[] args) throws java.io.IOException
	{
		java.io.BufferedReader br = new java.io.BufferedReader( new java.io.InputStreamReader( System.in ) );
		
		int x = Integer.parseInt( br.readLine() );
		System.out.println( (int) Math.pow( x, 3 ) );
	} main {
		java.io.BufferedReader br = new java.io.BufferedReader( new java.io.InputStreamReader( System.in ) );
		
		int x = Integer.parseInt( br.readLine() );
		System.out.println( (int) Math.pow( x, 3 ) );
	} java.io.BufferedReader br = new java.io.BufferedReader( new java.io.InputStreamReader( System.in ) ); br new java.io.BufferedReader( new java.io.InputStreamReader( System.in ) ) int x = Integer.parseInt( br.readLine() ); x Integer.parseInt( br.readLine() ) Integer.parseInt Integer br.readLine() br.readLine br System.out.println( (int) Math.pow( x, 3 ) ) System.out.println System.out System System.out (int) Math.pow( x, 3 ) Math.pow Math x 3 String[] args args
class Main
{
	public static void main(String[] args) throws java.io.IOException
	{
		java.io.BufferedReader br = new java.io.BufferedReader( new java.io.InputStreamReader( System.in ) );
		
		int x = Integer.parseInt( br.readLine() );
		System.out.println( (int) Math.pow( x, 3 ) );
	}
}