import java.io.*;
class Main{
    public static void main(String[] args)throws IOException{
    	InputStreamReader isr =new InputStreamReader(System.in);
   		BufferedReader br =new BufferedReader(isr);
    	String buf = br.readLine();
    	int x = Integer.parseInt(buf);
    	int y = x*x*x;
        System.out.println(y);
    }
} import java.io.*; io.* java class Main{
    public static void main(String[] args)throws IOException{
    	InputStreamReader isr =new InputStreamReader(System.in);
   		BufferedReader br =new BufferedReader(isr);
    	String buf = br.readLine();
    	int x = Integer.parseInt(buf);
    	int y = x*x*x;
        System.out.println(y);
    }
} Main public static void main(String[] args)throws IOException{
    	InputStreamReader isr =new InputStreamReader(System.in);
   		BufferedReader br =new BufferedReader(isr);
    	String buf = br.readLine();
    	int x = Integer.parseInt(buf);
    	int y = x*x*x;
        System.out.println(y);
    } main {
    	InputStreamReader isr =new InputStreamReader(System.in);
   		BufferedReader br =new BufferedReader(isr);
    	String buf = br.readLine();
    	int x = Integer.parseInt(buf);
    	int y = x*x*x;
        System.out.println(y);
    } InputStreamReader isr =new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br =new BufferedReader(isr); br new BufferedReader(isr) String buf = br.readLine(); buf br.readLine() br.readLine br int x = Integer.parseInt(buf); x Integer.parseInt(buf) Integer.parseInt Integer buf int y = x*x*x; y x*x*x x*x*x x x x System.out.println(y) System.out.println System.out System System.out y String[] args args
import java.io.*;
class Main{
    public static void main(String[] args)throws IOException{
    	InputStreamReader isr =new InputStreamReader(System.in);
   		BufferedReader br =new BufferedReader(isr);
    	String buf = br.readLine();
    	int x = Integer.parseInt(buf);
    	int y = x*x*x;
        System.out.println(y);
    }
}