import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

class Main {
    public static void main(String args[]) {
        try {
            BufferedReader stdReader =
                new BufferedReader(new InputStreamReader(System.in));
            String line;
            while ((line = stdReader.readLine()) != null) {
                int num = Integer.parseInt(line);
                System.out.println((int)Math.pow(num, 3));
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.IOException; IOException java.io class Main {
    public static void main(String args[]) {
        try {
            BufferedReader stdReader =
                new BufferedReader(new InputStreamReader(System.in));
            String line;
            while ((line = stdReader.readLine()) != null) {
                int num = Integer.parseInt(line);
                System.out.println((int)Math.pow(num, 3));
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
} Main public static void main(String args[]) {
        try {
            BufferedReader stdReader =
                new BufferedReader(new InputStreamReader(System.in));
            String line;
            while ((line = stdReader.readLine()) != null) {
                int num = Integer.parseInt(line);
                System.out.println((int)Math.pow(num, 3));
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    } main {
        try {
            BufferedReader stdReader =
                new BufferedReader(new InputStreamReader(System.in));
            String line;
            while ((line = stdReader.readLine()) != null) {
                int num = Integer.parseInt(line);
                System.out.println((int)Math.pow(num, 3));
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    } try {
            BufferedReader stdReader =
                new BufferedReader(new InputStreamReader(System.in));
            String line;
            while ((line = stdReader.readLine()) != null) {
                int num = Integer.parseInt(line);
                System.out.println((int)Math.pow(num, 3));
            }
        } catch (IOException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        } IOException e {
            e.printStackTrace();
        } e.printStackTrace() e.printStackTrace e {
            BufferedReader stdReader =
                new BufferedReader(new InputStreamReader(System.in));
            String line;
            while ((line = stdReader.readLine()) != null) {
                int num = Integer.parseInt(line);
                System.out.println((int)Math.pow(num, 3));
            }
        } BufferedReader stdReader =
                new BufferedReader(new InputStreamReader(System.in)); stdReader new BufferedReader(new InputStreamReader(System.in)) String line; line while ((line = stdReader.readLine()) != null) {
                int num = Integer.parseInt(line);
                System.out.println((int)Math.pow(num, 3));
            } (line = stdReader.readLine()) != null (line = stdReader.readLine()) line stdReader.readLine() stdReader.readLine stdReader null {
                int num = Integer.parseInt(line);
                System.out.println((int)Math.pow(num, 3));
            } int num = Integer.parseInt(line); num Integer.parseInt(line) Integer.parseInt Integer line System.out.println((int)Math.pow(num, 3)) System.out.println System.out System System.out (int)Math.pow(num, 3) Math.pow Math num 3 String args[] args
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

class Main {
    public static void main(String args[]) {
        try {
            BufferedReader stdReader =
                new BufferedReader(new InputStreamReader(System.in));
            String line;
            while ((line = stdReader.readLine()) != null) {
                int num = Integer.parseInt(line);
                System.out.println((int)Math.pow(num, 3));
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}