import java.util.Scanner;

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