import java.util.*;

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

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