import java.io.*;

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

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