import java.util.Scanner;

class calc {

	int ans = 1;

	void func(int n) {
		for (int i = 0; i < 3; i++) {
			ans *= n;
		}
		System.out.println(ans);
	}

}

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		calc cl = new calc();

		int n = sc.nextInt();

		cl.func(n);

	}

} import java.util.Scanner; Scanner java.util class calc {

	int ans = 1;

	void func(int n) {
		for (int i = 0; i < 3; i++) {
			ans *= n;
		}
		System.out.println(ans);
	}

} calc int ans = 1; ans 1 void func(int n) {
		for (int i = 0; i < 3; i++) {
			ans *= n;
		}
		System.out.println(ans);
	} func {
		for (int i = 0; i < 3; i++) {
			ans *= n;
		}
		System.out.println(ans);
	} for (int i = 0; i < 3; i++) {
			ans *= n;
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			ans *= n;
		} {
			ans *= n;
		} ans *= n ans n System.out.println(ans) System.out.println System.out System System.out ans int n n public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		calc cl = new calc();

		int n = sc.nextInt();

		cl.func(n);

	}

} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		calc cl = new calc();

		int n = sc.nextInt();

		cl.func(n);

	} main {

		Scanner sc = new Scanner(System.in);
		calc cl = new calc();

		int n = sc.nextInt();

		cl.func(n);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) calc cl = new calc(); cl new calc() int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc cl.func(n) cl.func cl n String[] args args public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		calc cl = new calc();

		int n = sc.nextInt();

		cl.func(n);

	}

} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		calc cl = new calc();

		int n = sc.nextInt();

		cl.func(n);

	}

} Main
import java.util.Scanner;

class calc {

	int ans = 1;

	void func(int n) {
		for (int i = 0; i < 3; i++) {
			ans *= n;
		}
		System.out.println(ans);
	}

}

public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		calc cl = new calc();

		int n = sc.nextInt();

		cl.func(n);

	}

}