import java.io.InputStream;
import java.util.Scanner;

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

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

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

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

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

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

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