import java.util.Scanner;

public class Main{
	public static void main(String[] args) throws java.io.IOException{
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		sc.close();
		double x = Double.valueOf(num).doubleValue();
		x = Math.pow(x,3);
		int result = (int)x;
		System.out.println(result);
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args) throws java.io.IOException{
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		sc.close();
		double x = Double.valueOf(num).doubleValue();
		x = Math.pow(x,3);
		int result = (int)x;
		System.out.println(result);
	}
} Main public static void main(String[] args) throws java.io.IOException{
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		sc.close();
		double x = Double.valueOf(num).doubleValue();
		x = Math.pow(x,3);
		int result = (int)x;
		System.out.println(result);
	} main {
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		sc.close();
		double x = Double.valueOf(num).doubleValue();
		x = Math.pow(x,3);
		int result = (int)x;
		System.out.println(result);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int num = sc.nextInt(); num sc.nextInt() sc.nextInt sc sc.close() sc.close sc double x = Double.valueOf(num).doubleValue(); x Double.valueOf(num).doubleValue() Double.valueOf(num).doubleValue Double.valueOf(num) Double.valueOf Double num x = Math.pow(x,3) x Math.pow(x,3) Math.pow Math x 3 int result = (int)x; result (int)x System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main{
	public static void main(String[] args) throws java.io.IOException{
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		sc.close();
		double x = Double.valueOf(num).doubleValue();
		x = Math.pow(x,3);
		int result = (int)x;
		System.out.println(result);
	}
} public class Main{
	public static void main(String[] args) throws java.io.IOException{
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		sc.close();
		double x = Double.valueOf(num).doubleValue();
		x = Math.pow(x,3);
		int result = (int)x;
		System.out.println(result);
	}
} Main
import java.util.Scanner;

public class Main{
	public static void main(String[] args) throws java.io.IOException{
		Scanner sc = new Scanner(System.in);
		int num = sc.nextInt();
		sc.close();
		double x = Double.valueOf(num).doubleValue();
		x = Math.pow(x,3);
		int result = (int)x;
		System.out.println(result);
	}
}