import java.util.Scanner;

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

class Main {
	public static void main(String[] argv){
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		System.out.println(n*n*n);
	}
}