import java.util.Scanner;

public class Main
{
	public static void main(String[] args)
	{
		Scanner sc = new Scanner(System.in);

		int num = sc.nextInt();
		int ans = num * num * num;

		System.out.printf("%d\n", ans);

	}
	

} import java.util.Scanner; Scanner java.util public class Main
{
	public static void main(String[] args)
	{
		Scanner sc = new Scanner(System.in);

		int num = sc.nextInt();
		int ans = num * num * num;

		System.out.printf("%d\n", ans);

	}
	

} Main public static void main(String[] args)
	{
		Scanner sc = new Scanner(System.in);

		int num = sc.nextInt();
		int ans = num * num * num;

		System.out.printf("%d\n", ans);

	} main {
		Scanner sc = new Scanner(System.in);

		int num = sc.nextInt();
		int ans = num * num * num;

		System.out.printf("%d\n", ans);

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int num = sc.nextInt(); num sc.nextInt() sc.nextInt sc int ans = num * num * num; ans num * num * num num * num * num num num num System.out.printf("%d\n", ans) System.out.printf System.out System System.out "%d\n" ans String[] args args public class Main
{
	public static void main(String[] args)
	{
		Scanner sc = new Scanner(System.in);

		int num = sc.nextInt();
		int ans = num * num * num;

		System.out.printf("%d\n", ans);

	}
	

} public class Main
{
	public static void main(String[] args)
	{
		Scanner sc = new Scanner(System.in);

		int num = sc.nextInt();
		int ans = num * num * num;

		System.out.printf("%d\n", ans);

	}
	

} Main
import java.util.Scanner;

public class Main
{
	public static void main(String[] args)
	{
		Scanner sc = new Scanner(System.in);

		int num = sc.nextInt();
		int ans = num * num * num;

		System.out.printf("%d\n", ans);

	}
	

}