import java.io.*;

public class Main{
    public static void main(String[] args) throws Exception{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int x = Integer.parseInt(br.readLine());

        double ans = Math.pow(x, 3);
        System.out.println((int)ans);
    }
} import java.io.*; io.* java public class Main{
    public static void main(String[] args) throws Exception{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int x = Integer.parseInt(br.readLine());

        double ans = Math.pow(x, 3);
        System.out.println((int)ans);
    }
} Main public static void main(String[] args) throws Exception{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int x = Integer.parseInt(br.readLine());

        double ans = Math.pow(x, 3);
        System.out.println((int)ans);
    } main {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int x = Integer.parseInt(br.readLine());

        double ans = Math.pow(x, 3);
        System.out.println((int)ans);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int x = Integer.parseInt(br.readLine()); x Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br double ans = Math.pow(x, 3); ans Math.pow(x, 3) Math.pow Math x 3 System.out.println((int)ans) System.out.println System.out System System.out (int)ans String[] args args public class Main{
    public static void main(String[] args) throws Exception{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int x = Integer.parseInt(br.readLine());

        double ans = Math.pow(x, 3);
        System.out.println((int)ans);
    }
} public class Main{
    public static void main(String[] args) throws Exception{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int x = Integer.parseInt(br.readLine());

        double ans = Math.pow(x, 3);
        System.out.println((int)ans);
    }
} Main
import java.io.*;

public class Main{
    public static void main(String[] args) throws Exception{

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int x = Integer.parseInt(br.readLine());

        double ans = Math.pow(x, 3);
        System.out.println((int)ans);
    }
}