import java.util.Scanner;

/**
 * @author ??\???
 *
 */
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int arg = scanner.nextInt();
		scanner.close();
		
		System.out.println((int)Math.pow(arg, 3));
	}

} import java.util.Scanner; Scanner java.util public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int arg = scanner.nextInt();
		scanner.close();
		
		System.out.println((int)Math.pow(arg, 3));
	}

} Main /**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int arg = scanner.nextInt();
		scanner.close();
		
		System.out.println((int)Math.pow(arg, 3));
	} main {
		Scanner scanner = new Scanner(System.in);
		int arg = scanner.nextInt();
		scanner.close();
		
		System.out.println((int)Math.pow(arg, 3));
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int arg = scanner.nextInt(); arg scanner.nextInt() scanner.nextInt scanner scanner.close() scanner.close scanner System.out.println((int)Math.pow(arg, 3)) System.out.println System.out System System.out (int)Math.pow(arg, 3) Math.pow Math arg 3 String[] args args public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int arg = scanner.nextInt();
		scanner.close();
		
		System.out.println((int)Math.pow(arg, 3));
	}

} public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int arg = scanner.nextInt();
		scanner.close();
		
		System.out.println((int)Math.pow(arg, 3));
	}

} Main
import java.util.Scanner;

/**
 * @author ??\???
 *
 */
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int arg = scanner.nextInt();
		scanner.close();
		
		System.out.println((int)Math.pow(arg, 3));
	}

}