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