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);
			int tri = (int) Math.pow(x,3);
			System.out.println(tri);
		}catch(IOException e) {
			System.out.println(e);
		}catch(NumberFormatException e) {
			System.out.println("??°????????\?????????????????????");
		}
	}
} 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);
			int tri = (int) Math.pow(x,3);
			System.out.println(tri);
		}catch(IOException e) {
			System.out.println(e);
		}catch(NumberFormatException e) {
			System.out.println("??°????????\?????????????????????");
		}
	}
} 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);
			int tri = (int) Math.pow(x,3);
			System.out.println(tri);
		}catch(IOException e) {
			System.out.println(e);
		}catch(NumberFormatException e) {
			System.out.println("??°????????\?????????????????????");
		}
	} main {
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		try{
			String line = reader.readLine();
			int x = Integer.parseInt(line);
			int tri = (int) Math.pow(x,3);
			System.out.println(tri);
		}catch(IOException e) {
			System.out.println(e);
		}catch(NumberFormatException e) {
			System.out.println("??°????????\?????????????????????");
		}
	} 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);
			int tri = (int) Math.pow(x,3);
			System.out.println(tri);
		}catch(IOException e) {
			System.out.println(e);
		}catch(NumberFormatException e) {
			System.out.println("??°????????\?????????????????????");
		} catch(IOException e) {
			System.out.println(e);
		} IOException e {
			System.out.println(e);
		} System.out.println(e) System.out.println System.out System System.out e catch(NumberFormatException e) {
			System.out.println("??°????????\?????????????????????");
		} NumberFormatException e {
			System.out.println("??°????????\?????????????????????");
		} System.out.println("??°????????\?????????????????????") System.out.println System.out System System.out "??°????????\?????????????????????" {
			String line = reader.readLine();
			int x = Integer.parseInt(line);
			int tri = (int) Math.pow(x,3);
			System.out.println(tri);
		} String line = reader.readLine(); line reader.readLine() reader.readLine reader int x = Integer.parseInt(line); x Integer.parseInt(line) Integer.parseInt Integer line int tri = (int) Math.pow(x,3); tri (int) Math.pow(x,3) Math.pow Math x 3 System.out.println(tri) System.out.println System.out System System.out tri 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);
			int tri = (int) Math.pow(x,3);
			System.out.println(tri);
		}catch(IOException e) {
			System.out.println(e);
		}catch(NumberFormatException e) {
			System.out.println("??°????????\?????????????????????");
		}
	}
} 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);
			int tri = (int) Math.pow(x,3);
			System.out.println(tri);
		}catch(IOException e) {
			System.out.println(e);
		}catch(NumberFormatException e) {
			System.out.println("??°????????\?????????????????????");
		}
	}
} 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);
			int tri = (int) Math.pow(x,3);
			System.out.println(tri);
		}catch(IOException e) {
			System.out.println(e);
		}catch(NumberFormatException e) {
			System.out.println("??°????????\?????????????????????");
		}
	}
}