import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws IOException {
		print();
	}

	private static void print() throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int x = Integer.valueOf(str);

		int multiple = x * x * x;
		System.out.println(multiple);
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) throws IOException {
		print();
	}

	private static void print() throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int x = Integer.valueOf(str);

		int multiple = x * x * x;
		System.out.println(multiple);
	}

} Main public static void main(String[] args) throws IOException {
		print();
	} main {
		print();
	} print() print String[] args args private static void print() throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int x = Integer.valueOf(str);

		int multiple = x * x * x;
		System.out.println(multiple);
	} print {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int x = Integer.valueOf(str);

		int multiple = x * x * x;
		System.out.println(multiple);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str = br.readLine(); str br.readLine() br.readLine br int x = Integer.valueOf(str); x Integer.valueOf(str) Integer.valueOf Integer str int multiple = x * x * x; multiple x * x * x x * x * x x x x System.out.println(multiple) System.out.println System.out System System.out multiple public class Main {
	public static void main(String[] args) throws IOException {
		print();
	}

	private static void print() throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int x = Integer.valueOf(str);

		int multiple = x * x * x;
		System.out.println(multiple);
	}

} public class Main {
	public static void main(String[] args) throws IOException {
		print();
	}

	private static void print() throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int x = Integer.valueOf(str);

		int multiple = x * x * x;
		System.out.println(multiple);
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws IOException {
		print();
	}

	private static void print() throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str = br.readLine();
		int x = Integer.valueOf(str);

		int multiple = x * x * x;
		System.out.println(multiple);
	}

}