import java.io.*;

public class Main {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			String line = reader.readLine();
			int x = Integer.parseInt(line);
			System.out.println(x * x * x);
		} catch (IOException e) {
		} catch (NumberFormatException e) {
		}
	}
} import java.io.*; io.* java public class Main {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			String line = reader.readLine();
			int x = Integer.parseInt(line);
			System.out.println(x * x * x);
		} catch (IOException e) {
		} catch (NumberFormatException e) {
		}
	}
} Main public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			String line = reader.readLine();
			int x = Integer.parseInt(line);
			System.out.println(x * x * x);
		} catch (IOException e) {
		} catch (NumberFormatException e) {
		}
	} main {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			String line = reader.readLine();
			int x = Integer.parseInt(line);
			System.out.println(x * x * x);
		} catch (IOException e) {
		} catch (NumberFormatException e) {
		}
	} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) try {
			String line = reader.readLine();
			int x = Integer.parseInt(line);
			System.out.println(x * x * x);
		} catch (IOException e) {
		} catch (NumberFormatException e) {
		} catch (IOException e) {
		} IOException e {
		} catch (NumberFormatException e) {
		} NumberFormatException e {
		} {
			String line = reader.readLine();
			int x = Integer.parseInt(line);
			System.out.println(x * x * x);
		} String line = reader.readLine(); line reader.readLine() reader.readLine reader int x = Integer.parseInt(line); x Integer.parseInt(line) Integer.parseInt Integer line 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 public class Main {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			String line = reader.readLine();
			int x = Integer.parseInt(line);
			System.out.println(x * x * x);
		} catch (IOException e) {
		} catch (NumberFormatException e) {
		}
	}
} public class Main {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			String line = reader.readLine();
			int x = Integer.parseInt(line);
			System.out.println(x * x * x);
		} catch (IOException e) {
		} catch (NumberFormatException e) {
		}
	}
} Main
import java.io.*;

public class Main {
	public static void main(String[] args) {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try {
			String line = reader.readLine();
			int x = Integer.parseInt(line);
			System.out.println(x * x * x);
		} catch (IOException e) {
		} catch (NumberFormatException e) {
		}
	}
}