import java.util.Scanner;

public class Main
{
    public static void main(String... args)
    {
        final Scanner scanner = new Scanner(System.in);
        final int in = scanner.nextInt();
        System.out.println((int) Math.pow(in, 3));
    }
} import java.util.Scanner; Scanner java.util public class Main
{
    public static void main(String... args)
    {
        final Scanner scanner = new Scanner(System.in);
        final int in = scanner.nextInt();
        System.out.println((int) Math.pow(in, 3));
    }
} Main public static void main(String... args)
    {
        final Scanner scanner = new Scanner(System.in);
        final int in = scanner.nextInt();
        System.out.println((int) Math.pow(in, 3));
    } main {
        final Scanner scanner = new Scanner(System.in);
        final int in = scanner.nextInt();
        System.out.println((int) Math.pow(in, 3));
    } final Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) final int in = scanner.nextInt(); in scanner.nextInt() scanner.nextInt scanner System.out.println((int) Math.pow(in, 3)) System.out.println System.out System System.out (int) Math.pow(in, 3) Math.pow Math in 3 String... args args public class Main
{
    public static void main(String... args)
    {
        final Scanner scanner = new Scanner(System.in);
        final int in = scanner.nextInt();
        System.out.println((int) Math.pow(in, 3));
    }
} public class Main
{
    public static void main(String... args)
    {
        final Scanner scanner = new Scanner(System.in);
        final int in = scanner.nextInt();
        System.out.println((int) Math.pow(in, 3));
    }
} Main
import java.util.Scanner;

public class Main
{
    public static void main(String... args)
    {
        final Scanner scanner = new Scanner(System.in);
        final int in = scanner.nextInt();
        System.out.println((int) Math.pow(in, 3));
    }
}