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