import java.util.Scanner;

class Main
{
	public static void main (String[] args) throws java.lang.Exception
    {
		Scanner cin = new Scanner(System.in);
		int x = cin.nextInt();
		
		System.out.println(x * x * x);
    }
} import java.util.Scanner; Scanner java.util class Main
{
	public static void main (String[] args) throws java.lang.Exception
    {
		Scanner cin = new Scanner(System.in);
		int x = cin.nextInt();
		
		System.out.println(x * x * x);
    }
} Main public static void main (String[] args) throws java.lang.Exception
    {
		Scanner cin = new Scanner(System.in);
		int x = cin.nextInt();
		
		System.out.println(x * x * x);
    } main {
		Scanner cin = new Scanner(System.in);
		int x = cin.nextInt();
		
		System.out.println(x * x * x);
    } Scanner cin = new Scanner(System.in); cin new Scanner(System.in) int x = cin.nextInt(); x cin.nextInt() cin.nextInt cin System.out.println(x * x * x) System.out.println System.out System System.out x * x * x x * x * x x x x String[] args args
import java.util.Scanner;

class Main
{
	public static void main (String[] args) throws java.lang.Exception
    {
		Scanner cin = new Scanner(System.in);
		int x = cin.nextInt();
		
		System.out.println(x * x * x);
    }
}