import java.util.*;

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

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