import java.util.Scanner;

public class Main{

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

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

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

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

public class Main{

	@SuppressWarnings("resource")
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		int x; 
		x = in.nextInt();
		System.out.println(x * x * x);
	}
}