import java.util.Scanner;
class Main{
	public static void main(String[]args){
		Scanner sc = new Scanner(System.in);
		int x;
		x =0;
		x = sc.nextInt();
		x = x * x * x;
		System.out.println(x);
	}
} import java.util.Scanner; Scanner java.util class Main{
	public static void main(String[]args){
		Scanner sc = new Scanner(System.in);
		int x;
		x =0;
		x = sc.nextInt();
		x = x * x * x;
		System.out.println(x);
	}
} Main public static void main(String[]args){
		Scanner sc = new Scanner(System.in);
		int x;
		x =0;
		x = sc.nextInt();
		x = x * x * x;
		System.out.println(x);
	} main {
		Scanner sc = new Scanner(System.in);
		int x;
		x =0;
		x = sc.nextInt();
		x = x * x * x;
		System.out.println(x);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x; x x =0 x 0 x = sc.nextInt() x sc.nextInt() sc.nextInt sc x = x * x * x x x * x * x x * x * x x x x System.out.println(x) System.out.println System.out System System.out x String[]args args
import java.util.Scanner;
class Main{
	public static void main(String[]args){
		Scanner sc = new Scanner(System.in);
		int x;
		x =0;
		x = sc.nextInt();
		x = x * x * x;
		System.out.println(x);
	}
}