import java.io.*;

class Main {
	public static void main(String args[]) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);

		try {
			String buf = br.readLine();
			int x = Integer.parseInt(buf);
			System.out.println((int)Math.pow(x,3));
		} catch (IOException e) {
			System.out.println("IOException!");
		}
	}
} import java.io.*; io.* java class Main {
	public static void main(String args[]) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);

		try {
			String buf = br.readLine();
			int x = Integer.parseInt(buf);
			System.out.println((int)Math.pow(x,3));
		} catch (IOException e) {
			System.out.println("IOException!");
		}
	}
} Main public static void main(String args[]) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);

		try {
			String buf = br.readLine();
			int x = Integer.parseInt(buf);
			System.out.println((int)Math.pow(x,3));
		} catch (IOException e) {
			System.out.println("IOException!");
		}
	} main {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);

		try {
			String buf = br.readLine();
			int x = Integer.parseInt(buf);
			System.out.println((int)Math.pow(x,3));
		} catch (IOException e) {
			System.out.println("IOException!");
		}
	} InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) try {
			String buf = br.readLine();
			int x = Integer.parseInt(buf);
			System.out.println((int)Math.pow(x,3));
		} catch (IOException e) {
			System.out.println("IOException!");
		} catch (IOException e) {
			System.out.println("IOException!");
		} IOException e {
			System.out.println("IOException!");
		} System.out.println("IOException!") System.out.println System.out System System.out "IOException!" {
			String buf = br.readLine();
			int x = Integer.parseInt(buf);
			System.out.println((int)Math.pow(x,3));
		} String buf = br.readLine(); buf br.readLine() br.readLine br int x = Integer.parseInt(buf); x Integer.parseInt(buf) Integer.parseInt Integer buf System.out.println((int)Math.pow(x,3)) System.out.println System.out System System.out (int)Math.pow(x,3) Math.pow Math x 3 String args[] args
import java.io.*;

class Main {
	public static void main(String args[]) {
		InputStreamReader isr = new InputStreamReader(System.in);
		BufferedReader br = new BufferedReader(isr);

		try {
			String buf = br.readLine();
			int x = Integer.parseInt(buf);
			System.out.println((int)Math.pow(x,3));
		} catch (IOException e) {
			System.out.println("IOException!");
		}
	}
}