import java.io.*;

class Main {
    static BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
    public static void main(String[] args) throws IOException {
        int x = ReadInt();
        int res = x * x * x;
        System.out.println(res);
    }
    static int ReadInt() throws IOException {
        String s = buf.readLine();
        return Integer.parseInt(s);
    }
} import java.io.*; io.* java class Main {
    static BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
    public static void main(String[] args) throws IOException {
        int x = ReadInt();
        int res = x * x * x;
        System.out.println(res);
    }
    static int ReadInt() throws IOException {
        String s = buf.readLine();
        return Integer.parseInt(s);
    }
} Main static BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); buf new BufferedReader(new InputStreamReader(System.in)) public static void main(String[] args) throws IOException {
        int x = ReadInt();
        int res = x * x * x;
        System.out.println(res);
    } main {
        int x = ReadInt();
        int res = x * x * x;
        System.out.println(res);
    } int x = ReadInt(); x ReadInt() ReadInt int res = x * x * x; res x * x * x x * x * x x x x System.out.println(res) System.out.println System.out System System.out res String[] args args static int ReadInt() throws IOException {
        String s = buf.readLine();
        return Integer.parseInt(s);
    } ReadInt {
        String s = buf.readLine();
        return Integer.parseInt(s);
    } String s = buf.readLine(); s buf.readLine() buf.readLine buf return Integer.parseInt(s); Integer.parseInt(s) Integer.parseInt Integer s
import java.io.*;

class Main {
    static BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
    public static void main(String[] args) throws IOException {
        int x = ReadInt();
        int res = x * x * x;
        System.out.println(res);
    }
    static int ReadInt() throws IOException {
        String s = buf.readLine();
        return Integer.parseInt(s);
    }
}