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