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