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