import java.util.Scanner;

public class Main {
	public static void main(String[]args){
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		System.out.println(Cube(x));
	}

	public static int Cube(int x){
		int ans = 1;
		for(int i = 0; i < 3; i++){
			ans *= x;
		}
		return ans;
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[]args){
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		System.out.println(Cube(x));
	}

	public static int Cube(int x){
		int ans = 1;
		for(int i = 0; i < 3; i++){
			ans *= x;
		}
		return ans;
	}
} Main public static void main(String[]args){
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		System.out.println(Cube(x));
	} main {
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		System.out.println(Cube(x));
	} Scanner s = new Scanner(System.in); s new Scanner(System.in) int x = s.nextInt(); x s.nextInt() s.nextInt s System.out.println(Cube(x)) System.out.println System.out System System.out Cube(x) Cube x String[]args args public static int Cube(int x){
		int ans = 1;
		for(int i = 0; i < 3; i++){
			ans *= x;
		}
		return ans;
	} Cube {
		int ans = 1;
		for(int i = 0; i < 3; i++){
			ans *= x;
		}
		return ans;
	} int ans = 1; ans 1 for(int i = 0; i < 3; i++){
			ans *= x;
		} int i = 0; int i = 0; i 0 i < 3 i 3 i++ i++ i {
			ans *= x;
		} {
			ans *= x;
		} ans *= x ans x return ans; ans int x x public class Main {
	public static void main(String[]args){
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		System.out.println(Cube(x));
	}

	public static int Cube(int x){
		int ans = 1;
		for(int i = 0; i < 3; i++){
			ans *= x;
		}
		return ans;
	}
} public class Main {
	public static void main(String[]args){
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		System.out.println(Cube(x));
	}

	public static int Cube(int x){
		int ans = 1;
		for(int i = 0; i < 3; i++){
			ans *= x;
		}
		return ans;
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[]args){
		Scanner s = new Scanner(System.in);
		int x = s.nextInt();
		System.out.println(Cube(x));
	}

	public static int Cube(int x){
		int ans = 1;
		for(int i = 0; i < 3; i++){
			ans *= x;
		}
		return ans;
	}
}