import java.util.Scanner;


public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int i = scanner.nextInt();
		int result = cubic(i);
		System.out.println(result);
		scanner.close();
	}
	public static int cubic(int i){
		return (int)(Math.pow(i, 3));
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int i = scanner.nextInt();
		int result = cubic(i);
		System.out.println(result);
		scanner.close();
	}
	public static int cubic(int i){
		return (int)(Math.pow(i, 3));
	}
} Main public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int i = scanner.nextInt();
		int result = cubic(i);
		System.out.println(result);
		scanner.close();
	} main {
		Scanner scanner = new Scanner(System.in);
		int i = scanner.nextInt();
		int result = cubic(i);
		System.out.println(result);
		scanner.close();
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int i = scanner.nextInt(); i scanner.nextInt() scanner.nextInt scanner int result = cubic(i); result cubic(i) cubic i System.out.println(result) System.out.println System.out System System.out result scanner.close() scanner.close scanner String[] args args public static int cubic(int i){
		return (int)(Math.pow(i, 3));
	} cubic {
		return (int)(Math.pow(i, 3));
	} return (int)(Math.pow(i, 3)); (int)(Math.pow(i, 3)) Math.pow Math i 3 int i i public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int i = scanner.nextInt();
		int result = cubic(i);
		System.out.println(result);
		scanner.close();
	}
	public static int cubic(int i){
		return (int)(Math.pow(i, 3));
	}
} public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int i = scanner.nextInt();
		int result = cubic(i);
		System.out.println(result);
		scanner.close();
	}
	public static int cubic(int i){
		return (int)(Math.pow(i, 3));
	}
} Main
import java.util.Scanner;


public class Main {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int i = scanner.nextInt();
		int result = cubic(i);
		System.out.println(result);
		scanner.close();
	}
	public static int cubic(int i){
		return (int)(Math.pow(i, 3));
	}
}