class Main{
        public static void main(String[] args){
                int x = new java.util.Scanner(System.in).nextInt();
                System.out.println((int)Math.pow(x,3));
        }
} class Main{
        public static void main(String[] args){
                int x = new java.util.Scanner(System.in).nextInt();
                System.out.println((int)Math.pow(x,3));
        }
} Main public static void main(String[] args){
                int x = new java.util.Scanner(System.in).nextInt();
                System.out.println((int)Math.pow(x,3));
        } main {
                int x = new java.util.Scanner(System.in).nextInt();
                System.out.println((int)Math.pow(x,3));
        } int x = new java.util.Scanner(System.in).nextInt(); x new java.util.Scanner(System.in).nextInt() new java.util.Scanner(System.in).nextInt new java.util.Scanner(System.in) 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
class Main{
        public static void main(String[] args){
                int x = new java.util.Scanner(System.in).nextInt();
                System.out.println((int)Math.pow(x,3));
        }
}