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