import java.util.*;
class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Integer inp = Integer.parseInt(sc.next());
		System.out.println(inp*inp*inp);
	}
} import java.util.*; util.* java class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Integer inp = Integer.parseInt(sc.next());
		System.out.println(inp*inp*inp);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Integer inp = Integer.parseInt(sc.next());
		System.out.println(inp*inp*inp);
	} main {
		Scanner sc = new Scanner(System.in);
		Integer inp = Integer.parseInt(sc.next());
		System.out.println(inp*inp*inp);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) Integer inp = Integer.parseInt(sc.next()); inp Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc System.out.println(inp*inp*inp) System.out.println System.out System System.out inp*inp*inp inp*inp*inp inp inp inp String[] args args
import java.util.*;
class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		Integer inp = Integer.parseInt(sc.next());
		System.out.println(inp*inp*inp);
	}
}