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

public class Main {

	public static void main(String[] args) throws Exception {
		int x = Integer.valueOf(inp());
		System.out.println(x * x * x);

	}

	private static String inp() throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		return br.readLine();
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws Exception {
		int x = Integer.valueOf(inp());
		System.out.println(x * x * x);

	}

	private static String inp() throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		return br.readLine();
	}

} Main public static void main(String[] args) throws Exception {
		int x = Integer.valueOf(inp());
		System.out.println(x * x * x);

	} main {
		int x = Integer.valueOf(inp());
		System.out.println(x * x * x);

	} int x = Integer.valueOf(inp()); x Integer.valueOf(inp()) Integer.valueOf Integer inp() inp System.out.println(x * x * x) System.out.println System.out System System.out x * x * x x * x * x x x x String[] args args private static String inp() throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		return br.readLine();
	} inp {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		return br.readLine();
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) return br.readLine(); br.readLine() br.readLine br public class Main {

	public static void main(String[] args) throws Exception {
		int x = Integer.valueOf(inp());
		System.out.println(x * x * x);

	}

	private static String inp() throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		return br.readLine();
	}

} public class Main {

	public static void main(String[] args) throws Exception {
		int x = Integer.valueOf(inp());
		System.out.println(x * x * x);

	}

	private static String inp() throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		return br.readLine();
	}

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

public class Main {

	public static void main(String[] args) throws Exception {
		int x = Integer.valueOf(inp());
		System.out.println(x * x * x);

	}

	private static String inp() throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		return br.readLine();
	}

}