import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		//int x = 2;
		Scanner scan = new Scanner(System.in);
	    int x = scan.nextInt();
		int z = (int)Math.pow(x, 3);
		System.out.println(z);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		//int x = 2;
		Scanner scan = new Scanner(System.in);
	    int x = scan.nextInt();
		int z = (int)Math.pow(x, 3);
		System.out.println(z);
	}
} Main public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		//int x = 2;
		Scanner scan = new Scanner(System.in);
	    int x = scan.nextInt();
		int z = (int)Math.pow(x, 3);
		System.out.println(z);
	} main {
		// TODO ?????????????????????????????????????????????

		//int x = 2;
		Scanner scan = new Scanner(System.in);
	    int x = scan.nextInt();
		int z = (int)Math.pow(x, 3);
		System.out.println(z);
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int z = (int)Math.pow(x, 3); z (int)Math.pow(x, 3) Math.pow Math x 3 System.out.println(z) System.out.println System.out System System.out z String[] args args public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		//int x = 2;
		Scanner scan = new Scanner(System.in);
	    int x = scan.nextInt();
		int z = (int)Math.pow(x, 3);
		System.out.println(z);
	}
} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		//int x = 2;
		Scanner scan = new Scanner(System.in);
	    int x = scan.nextInt();
		int z = (int)Math.pow(x, 3);
		System.out.println(z);
	}
} Main
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		//int x = 2;
		Scanner scan = new Scanner(System.in);
	    int x = scan.nextInt();
		int z = (int)Math.pow(x, 3);
		System.out.println(z);
	}
}