import java.util.Scanner;

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

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