import java.io.*;

public class Main{
    public static void main(String[] args){
        String line;
        int x;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try{
            line = reader.readLine();
            x = Integer.parseInt(line);
            System.out.println(x*x*x);
        }catch(NumberFormatException e){
            System.out.println(e);
        }catch(IOException e){
            System.out.println(e);
        }
    }
} import java.io.*; io.* java public class Main{
    public static void main(String[] args){
        String line;
        int x;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try{
            line = reader.readLine();
            x = Integer.parseInt(line);
            System.out.println(x*x*x);
        }catch(NumberFormatException e){
            System.out.println(e);
        }catch(IOException e){
            System.out.println(e);
        }
    }
} Main public static void main(String[] args){
        String line;
        int x;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try{
            line = reader.readLine();
            x = Integer.parseInt(line);
            System.out.println(x*x*x);
        }catch(NumberFormatException e){
            System.out.println(e);
        }catch(IOException e){
            System.out.println(e);
        }
    } main {
        String line;
        int x;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try{
            line = reader.readLine();
            x = Integer.parseInt(line);
            System.out.println(x*x*x);
        }catch(NumberFormatException e){
            System.out.println(e);
        }catch(IOException e){
            System.out.println(e);
        }
    } String line; line int x; x BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) try{
            line = reader.readLine();
            x = Integer.parseInt(line);
            System.out.println(x*x*x);
        }catch(NumberFormatException e){
            System.out.println(e);
        }catch(IOException e){
            System.out.println(e);
        } catch(NumberFormatException e){
            System.out.println(e);
        } NumberFormatException e {
            System.out.println(e);
        } System.out.println(e) System.out.println System.out System System.out e catch(IOException e){
            System.out.println(e);
        } IOException e {
            System.out.println(e);
        } System.out.println(e) System.out.println System.out System System.out e {
            line = reader.readLine();
            x = Integer.parseInt(line);
            System.out.println(x*x*x);
        } line = reader.readLine() line reader.readLine() reader.readLine reader x = Integer.parseInt(line) x Integer.parseInt(line) Integer.parseInt Integer line System.out.println(x*x*x) System.out.println System.out System System.out x*x*x x*x*x x x x String[] args args public class Main{
    public static void main(String[] args){
        String line;
        int x;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try{
            line = reader.readLine();
            x = Integer.parseInt(line);
            System.out.println(x*x*x);
        }catch(NumberFormatException e){
            System.out.println(e);
        }catch(IOException e){
            System.out.println(e);
        }
    }
} public class Main{
    public static void main(String[] args){
        String line;
        int x;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try{
            line = reader.readLine();
            x = Integer.parseInt(line);
            System.out.println(x*x*x);
        }catch(NumberFormatException e){
            System.out.println(e);
        }catch(IOException e){
            System.out.println(e);
        }
    }
} Main
import java.io.*;

public class Main{
    public static void main(String[] args){
        String line;
        int x;
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        try{
            line = reader.readLine();
            x = Integer.parseInt(line);
            System.out.println(x*x*x);
        }catch(NumberFormatException e){
            System.out.println(e);
        }catch(IOException e){
            System.out.println(e);
        }
    }
}
