import java.util.Scanner;

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

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