import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner kb=new Scanner(System.in);
		int a=kb.nextInt();
		System.out.printf("%d\n", a*a*a);
		kb.close();
	}

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

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner kb=new Scanner(System.in);
		int a=kb.nextInt();
		System.out.printf("%d\n", a*a*a);
		kb.close();
	}

} Main public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner kb=new Scanner(System.in);
		int a=kb.nextInt();
		System.out.printf("%d\n", a*a*a);
		kb.close();
	} main {
		// TODO ?????????????????????????????????????????????
		Scanner kb=new Scanner(System.in);
		int a=kb.nextInt();
		System.out.printf("%d\n", a*a*a);
		kb.close();
	} Scanner kb=new Scanner(System.in); kb new Scanner(System.in) int a=kb.nextInt(); a kb.nextInt() kb.nextInt kb System.out.printf("%d\n", a*a*a) System.out.printf System.out System System.out "%d\n" a*a*a a*a*a a a a kb.close() kb.close kb String[] args args public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner kb=new Scanner(System.in);
		int a=kb.nextInt();
		System.out.printf("%d\n", a*a*a);
		kb.close();
	}

} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner kb=new Scanner(System.in);
		int a=kb.nextInt();
		System.out.printf("%d\n", a*a*a);
		kb.close();
	}

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

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner kb=new Scanner(System.in);
		int a=kb.nextInt();
		System.out.printf("%d\n", a*a*a);
		kb.close();
	}

}