import java.util.Scanner;
public class Main {
	public static void main(String[] arg){
		// ?¨??????\???
        Scanner scan = new Scanner(System.in);
        // int???????????????
        int n = scan.nextInt();
        int cube = n * n * n;
        // ??????(????°???????????????????????????????)
        System.out.println(cube);
        // Scanner????????????
        scan.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] arg){
		// ?¨??????\???
        Scanner scan = new Scanner(System.in);
        // int???????????????
        int n = scan.nextInt();
        int cube = n * n * n;
        // ??????(????°???????????????????????????????)
        System.out.println(cube);
        // Scanner????????????
        scan.close();
	}
} Main public static void main(String[] arg){
		// ?¨??????\???
        Scanner scan = new Scanner(System.in);
        // int???????????????
        int n = scan.nextInt();
        int cube = n * n * n;
        // ??????(????°???????????????????????????????)
        System.out.println(cube);
        // Scanner????????????
        scan.close();
	} main {
		// ?¨??????\???
        Scanner scan = new Scanner(System.in);
        // int???????????????
        int n = scan.nextInt();
        int cube = n * n * n;
        // ??????(????°???????????????????????????????)
        System.out.println(cube);
        // Scanner????????????
        scan.close();
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int n = scan.nextInt(); n scan.nextInt() scan.nextInt scan int cube = n * n * n; cube n * n * n n * n * n n n n System.out.println(cube) System.out.println System.out System System.out cube scan.close() scan.close scan String[] arg arg public class Main {
	public static void main(String[] arg){
		// ?¨??????\???
        Scanner scan = new Scanner(System.in);
        // int???????????????
        int n = scan.nextInt();
        int cube = n * n * n;
        // ??????(????°???????????????????????????????)
        System.out.println(cube);
        // Scanner????????????
        scan.close();
	}
} public class Main {
	public static void main(String[] arg){
		// ?¨??????\???
        Scanner scan = new Scanner(System.in);
        // int???????????????
        int n = scan.nextInt();
        int cube = n * n * n;
        // ??????(????°???????????????????????????????)
        System.out.println(cube);
        // Scanner????????????
        scan.close();
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] arg){
		// ?¨??????\???
        Scanner scan = new Scanner(System.in);
        // int???????????????
        int n = scan.nextInt();
        int cube = n * n * n;
        // ??????(????°???????????????????????????????)
        System.out.println(cube);
        // Scanner????????????
        scan.close();
	}
}