import java.util.Scanner;

class Main {
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int x = Integer.parseInt(scan.next());
	System.out.println((int) Math.pow(x, 3));
	scan.close();
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int x = Integer.parseInt(scan.next());
	System.out.println((int) Math.pow(x, 3));
	scan.close();
    }
} Main public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int x = Integer.parseInt(scan.next());
	System.out.println((int) Math.pow(x, 3));
	scan.close();
    } main {
	Scanner scan = new Scanner(System.in);
	int x = Integer.parseInt(scan.next());
	System.out.println((int) Math.pow(x, 3));
	scan.close();
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int x = Integer.parseInt(scan.next()); x Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan 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 scan.close() scan.close scan String[] args args
import java.util.Scanner;

class Main {
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int x = Integer.parseInt(scan.next());
	System.out.println((int) Math.pow(x, 3));
	scan.close();
    }
}