import java.io.*;

class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));

        String line = reader.readLine();
        int x = Integer.parseInt(line);
        int answer = (int) Math.pow(x, 3);
        System.out.println(answer);
    }
} import java.io.*; io.* java class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));

        String line = reader.readLine();
        int x = Integer.parseInt(line);
        int answer = (int) Math.pow(x, 3);
        System.out.println(answer);
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));

        String line = reader.readLine();
        int x = Integer.parseInt(line);
        int answer = (int) Math.pow(x, 3);
        System.out.println(answer);
    } main {
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));

        String line = reader.readLine();
        int x = Integer.parseInt(line);
        int answer = (int) Math.pow(x, 3);
        System.out.println(answer);
    } BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String line = reader.readLine(); line reader.readLine() reader.readLine reader int x = Integer.parseInt(line); x Integer.parseInt(line) Integer.parseInt Integer line int answer = (int) Math.pow(x, 3); answer (int) Math.pow(x, 3) Math.pow Math x 3 System.out.println(answer) System.out.println System.out System System.out answer String[] args args
import java.io.*;

class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader =
            new BufferedReader(new InputStreamReader(System.in));

        String line = reader.readLine();
        int x = Integer.parseInt(line);
        int answer = (int) Math.pow(x, 3);
        System.out.println(answer);
    }
}