import java.lang.Math.*;
import java.util.*;

public class Main{
	private static final Scanner scan = new Scanner(System.in);

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

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

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

	public static void main(String[] args){
		int x = scan.nextInt();
		int out = (int) Math.pow(x, 3);
		System.out.println(out);
	}
} Main
import java.lang.Math.*;
import java.util.*;

public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		int x = scan.nextInt();
		int out = (int) Math.pow(x, 3);
		System.out.println(out);
	}
}