import java.util.Scanner;

public class Main{
	public static void main(String args[]){

		Scanner sc = new Scanner (System.in);
		int x= sc.nextInt();

		System.out.println((int)Math.pow(x, 3));
	}

} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String args[]){

		Scanner sc = new Scanner (System.in);
		int x= sc.nextInt();

		System.out.println((int)Math.pow(x, 3));
	}

} Main public static void main(String args[]){

		Scanner sc = new Scanner (System.in);
		int x= sc.nextInt();

		System.out.println((int)Math.pow(x, 3));
	} main {

		Scanner sc = new Scanner (System.in);
		int x= sc.nextInt();

		System.out.println((int)Math.pow(x, 3));
	} Scanner sc = new Scanner (System.in); sc new Scanner (System.in) int x= sc.nextInt(); x sc.nextInt() sc.nextInt sc 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 public class Main{
	public static void main(String args[]){

		Scanner sc = new Scanner (System.in);
		int x= sc.nextInt();

		System.out.println((int)Math.pow(x, 3));
	}

} public class Main{
	public static void main(String args[]){

		Scanner sc = new Scanner (System.in);
		int x= sc.nextInt();

		System.out.println((int)Math.pow(x, 3));
	}

} Main
import java.util.Scanner;

public class Main{
	public static void main(String args[]){

		Scanner sc = new Scanner (System.in);
		int x= sc.nextInt();

		System.out.println((int)Math.pow(x, 3));
	}

}
