import java.io.*;

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String inputed = new String(in.readLine());
		int temp = Integer.parseInt(inputed);

		int answer = temp * temp * temp;
		System.out.println(answer);

	}
} import java.io.*; io.* java public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String inputed = new String(in.readLine());
		int temp = Integer.parseInt(inputed);

		int answer = temp * temp * temp;
		System.out.println(answer);

	}
} Main public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String inputed = new String(in.readLine());
		int temp = Integer.parseInt(inputed);

		int answer = temp * temp * temp;
		System.out.println(answer);

	} main {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String inputed = new String(in.readLine());
		int temp = Integer.parseInt(inputed);

		int answer = temp * temp * temp;
		System.out.println(answer);

	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) String inputed = new String(in.readLine()); inputed new String(in.readLine()) int temp = Integer.parseInt(inputed); temp Integer.parseInt(inputed) Integer.parseInt Integer inputed int answer = temp * temp * temp; answer temp * temp * temp temp * temp * temp temp temp temp System.out.println(answer) System.out.println System.out System System.out answer String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String inputed = new String(in.readLine());
		int temp = Integer.parseInt(inputed);

		int answer = temp * temp * temp;
		System.out.println(answer);

	}
} public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String inputed = new String(in.readLine());
		int temp = Integer.parseInt(inputed);

		int answer = temp * temp * temp;
		System.out.println(answer);

	}
} Main
import java.io.*;

public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String inputed = new String(in.readLine());
		int temp = Integer.parseInt(inputed);

		int answer = temp * temp * temp;
		System.out.println(answer);

	}
}