import java.util.Scanner;

class Main {
    public static void main(String args[]) {
        java.util.Scanner key = new java.util.Scanner(System.in);
    int  x = key.nextInt();

        System.out.println((int)Math.pow(x,3));
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(String args[]) {
        java.util.Scanner key = new java.util.Scanner(System.in);
    int  x = key.nextInt();

        System.out.println((int)Math.pow(x,3));
    }
} Main public static void main(String args[]) {
        java.util.Scanner key = new java.util.Scanner(System.in);
    int  x = key.nextInt();

        System.out.println((int)Math.pow(x,3));
    } main {
        java.util.Scanner key = new java.util.Scanner(System.in);
    int  x = key.nextInt();

        System.out.println((int)Math.pow(x,3));
    } java.util.Scanner key = new java.util.Scanner(System.in); key new java.util.Scanner(System.in) int  x = key.nextInt(); x key.nextInt() key.nextInt key System.out.println((int)Math.pow(x,3)) System.out.println System.out System System.out (int)Math.pow(x,3) Math.pow Math x 3 String args[] args
import java.util.Scanner;

class Main {
    public static void main(String args[]) {
        java.util.Scanner key = new java.util.Scanner(System.in);
    int  x = key.nextInt();

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