import java.io.*;

public class Main {
    public static void main(String[] args) {
        InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        try {
            int x = Integer.parseInt(br.readLine());
            System.out.println(x * x * x);
        } catch(IOException e) {
            e.printStackTrace();
        }
    }
} import java.io.*; io.* java public class Main {
    public static void main(String[] args) {
        InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        try {
            int x = Integer.parseInt(br.readLine());
            System.out.println(x * x * x);
        } catch(IOException e) {
            e.printStackTrace();
        }
    }
} Main public static void main(String[] args) {
        InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        try {
            int x = Integer.parseInt(br.readLine());
            System.out.println(x * x * x);
        } catch(IOException e) {
            e.printStackTrace();
        }
    } main {
        InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        try {
            int x = Integer.parseInt(br.readLine());
            System.out.println(x * x * x);
        } catch(IOException e) {
            e.printStackTrace();
        }
    } InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) try {
            int x = Integer.parseInt(br.readLine());
            System.out.println(x * x * x);
        } catch(IOException e) {
            e.printStackTrace();
        } catch(IOException e) {
            e.printStackTrace();
        } IOException e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {
            int x = Integer.parseInt(br.readLine());
            System.out.println(x * x * x);
        } int x = Integer.parseInt(br.readLine()); x Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br 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) {
        InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        try {
            int x = Integer.parseInt(br.readLine());
            System.out.println(x * x * x);
        } catch(IOException e) {
            e.printStackTrace();
        }
    }
} public class Main {
    public static void main(String[] args) {
        InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        try {
            int x = Integer.parseInt(br.readLine());
            System.out.println(x * x * x);
        } catch(IOException e) {
            e.printStackTrace();
        }
    }
} Main
import java.io.*;

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