import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int x2 = in.nextInt();
		int i = 1;
		int x = 1;
		while (i <= 3) {
			x *= x2;
			i++;
		}
		System.out.println(x);

	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int x2 = in.nextInt();
		int i = 1;
		int x = 1;
		while (i <= 3) {
			x *= x2;
			i++;
		}
		System.out.println(x);

	}

} Main public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int x2 = in.nextInt();
		int i = 1;
		int x = 1;
		while (i <= 3) {
			x *= x2;
			i++;
		}
		System.out.println(x);

	} main {
		Scanner in = new Scanner(System.in);
		int x2 = in.nextInt();
		int i = 1;
		int x = 1;
		while (i <= 3) {
			x *= x2;
			i++;
		}
		System.out.println(x);

	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int x2 = in.nextInt(); x2 in.nextInt() in.nextInt in int i = 1; i 1 int x = 1; x 1 while (i <= 3) {
			x *= x2;
			i++;
		} i <= 3 i 3 {
			x *= x2;
			i++;
		} x *= x2 x x2 i++ i System.out.println(x) System.out.println System.out System System.out x String[] args args public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int x2 = in.nextInt();
		int i = 1;
		int x = 1;
		while (i <= 3) {
			x *= x2;
			i++;
		}
		System.out.println(x);

	}

} public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int x2 = in.nextInt();
		int i = 1;
		int x = 1;
		while (i <= 3) {
			x *= x2;
			i++;
		}
		System.out.println(x);

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int x2 = in.nextInt();
		int i = 1;
		int x = 1;
		while (i <= 3) {
			x *= x2;
			i++;
		}
		System.out.println(x);

	}

}