import java.util.Scanner;

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

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