import java.util.Scanner;

public class Main {
	  public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);

		    int N = scanner.nextInt();
		    System.out.println(N * N * N);
        	scanner.close();}
		  }
 import java.util.Scanner; Scanner java.util public class Main {
	  public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);

		    int N = scanner.nextInt();
		    System.out.println(N * N * N);
        	scanner.close();}
		  } Main public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);

		    int N = scanner.nextInt();
		    System.out.println(N * N * N);
        	scanner.close();} main {
		    Scanner scanner = new Scanner(System.in);

		    int N = scanner.nextInt();
		    System.out.println(N * N * N);
        	scanner.close();} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int N = scanner.nextInt(); N scanner.nextInt() scanner.nextInt scanner System.out.println(N * N * N) System.out.println System.out System System.out N * N * N N * N * N N N N scanner.close() scanner.close scanner String args[] args public class Main {
	  public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);

		    int N = scanner.nextInt();
		    System.out.println(N * N * N);
        	scanner.close();}
		  } public class Main {
	  public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);

		    int N = scanner.nextInt();
		    System.out.println(N * N * N);
        	scanner.close();}
		  } Main
import java.util.Scanner;

public class Main {
	  public static void main(String args[]) {
		    Scanner scanner = new Scanner(System.in);

		    int N = scanner.nextInt();
		    System.out.println(N * N * N);
        	scanner.close();}
		  }

