import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=1;
		for (int i=1;i<=3;i++){
			x=x*n;
		}
		System.out.println( x );
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=1;
		for (int i=1;i<=3;i++){
			x=x*n;
		}
		System.out.println( x );
	}

} Main public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=1;
		for (int i=1;i<=3;i++){
			x=x*n;
		}
		System.out.println( x );
	} main {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=1;
		for (int i=1;i<=3;i++){
			x=x*n;
		}
		System.out.println( x );
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int n=sc.nextInt(); n sc.nextInt() sc.nextInt sc int x=1; x 1 for (int i=1;i<=3;i++){
			x=x*n;
		} int i=1; int i=1; i 1 i<=3 i 3 i++ i++ i {
			x=x*n;
		} {
			x=x*n;
		} x=x*n x x*n x n System.out.println( x ) System.out.println System.out System System.out x String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=1;
		for (int i=1;i<=3;i++){
			x=x*n;
		}
		System.out.println( x );
	}

} public class Main {
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=1;
		for (int i=1;i<=3;i++){
			x=x*n;
		}
		System.out.println( x );
	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		int n=sc.nextInt();
		int x=1;
		for (int i=1;i<=3;i++){
			x=x*n;
		}
		System.out.println( x );
	}

}