import java.io.*;
class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		String nb = buf.readLine();
		int x = Integer.parseInt(nb);
		System.out.println((int)Math.pow(x,3));
	}
} import java.io.*; io.* java class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		String nb = buf.readLine();
		int x = Integer.parseInt(nb);
		System.out.println((int)Math.pow(x,3));
	}
} Main public static void main(String[] args)throws IOException{
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		String nb = buf.readLine();
		int x = Integer.parseInt(nb);
		System.out.println((int)Math.pow(x,3));
	} main {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		String nb = buf.readLine();
		int x = Integer.parseInt(nb);
		System.out.println((int)Math.pow(x,3));
	} BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); buf new BufferedReader(new InputStreamReader(System.in)) String nb = buf.readLine(); nb buf.readLine() buf.readLine buf int x = Integer.parseInt(nb); x Integer.parseInt(nb) Integer.parseInt Integer nb 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.io.*;
class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		String nb = buf.readLine();
		int x = Integer.parseInt(nb);
		System.out.println((int)Math.pow(x,3));
	}
}