import java.io.*;
//??????????????????????????\?????????????????????
public class Main {

    public static void main(String[] args) {
        
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String str = br.readLine();
            int N = Integer.parseInt(str);
            int Ans = N*N*N;
            System.out.println(Ans);
        }
        catch(IOException e) {
            System.out.println("??\????????¨??????");    
        }
        catch(NumberFormatException e) {
            System.out.println("?????¨?????????"); 
        }
    }
    
} import java.io.*; io.* java public class Main {

    public static void main(String[] args) {
        
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String str = br.readLine();
            int N = Integer.parseInt(str);
            int Ans = N*N*N;
            System.out.println(Ans);
        }
        catch(IOException e) {
            System.out.println("??\????????¨??????");    
        }
        catch(NumberFormatException e) {
            System.out.println("?????¨?????????"); 
        }
    }
    
} Main public static void main(String[] args) {
        
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String str = br.readLine();
            int N = Integer.parseInt(str);
            int Ans = N*N*N;
            System.out.println(Ans);
        }
        catch(IOException e) {
            System.out.println("??\????????¨??????");    
        }
        catch(NumberFormatException e) {
            System.out.println("?????¨?????????"); 
        }
    } main {
        
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String str = br.readLine();
            int N = Integer.parseInt(str);
            int Ans = N*N*N;
            System.out.println(Ans);
        }
        catch(IOException e) {
            System.out.println("??\????????¨??????");    
        }
        catch(NumberFormatException e) {
            System.out.println("?????¨?????????"); 
        }
    } try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String str = br.readLine();
            int N = Integer.parseInt(str);
            int Ans = N*N*N;
            System.out.println(Ans);
        }
        catch(IOException e) {
            System.out.println("??\????????¨??????");    
        }
        catch(NumberFormatException e) {
            System.out.println("?????¨?????????"); 
        } catch(IOException e) {
            System.out.println("??\????????¨??????");    
        } IOException e {
            System.out.println("??\????????¨??????");    
        } System.out.println("??\????????¨??????") System.out.println System.out System System.out "??\????????¨??????" catch(NumberFormatException e) {
            System.out.println("?????¨?????????"); 
        } NumberFormatException e {
            System.out.println("?????¨?????????"); 
        } System.out.println("?????¨?????????") System.out.println System.out System System.out "?????¨?????????" {
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String str = br.readLine();
            int N = Integer.parseInt(str);
            int Ans = N*N*N;
            System.out.println(Ans);
        } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br int N = Integer.parseInt(str); N Integer.parseInt(str) Integer.parseInt Integer str int Ans = N*N*N; Ans N*N*N N*N*N N N N System.out.println(Ans) System.out.println System.out System System.out Ans String[] args args public class Main {

    public static void main(String[] args) {
        
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String str = br.readLine();
            int N = Integer.parseInt(str);
            int Ans = N*N*N;
            System.out.println(Ans);
        }
        catch(IOException e) {
            System.out.println("??\????????¨??????");    
        }
        catch(NumberFormatException e) {
            System.out.println("?????¨?????????"); 
        }
    }
    
} public class Main {

    public static void main(String[] args) {
        
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String str = br.readLine();
            int N = Integer.parseInt(str);
            int Ans = N*N*N;
            System.out.println(Ans);
        }
        catch(IOException e) {
            System.out.println("??\????????¨??????");    
        }
        catch(NumberFormatException e) {
            System.out.println("?????¨?????????"); 
        }
    }
    
} Main
import java.io.*;
//??????????????????????????\?????????????????????
public class Main {

    public static void main(String[] args) {
        
        try{
            BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
            String str = br.readLine();
            int N = Integer.parseInt(str);
            int Ans = N*N*N;
            System.out.println(Ans);
        }
        catch(IOException e) {
            System.out.println("??\????????¨??????");    
        }
        catch(NumberFormatException e) {
            System.out.println("?????¨?????????"); 
        }
    }
    
}