import java.util.Scanner;

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

    private static int pow(int x, int exp) {
        if (exp == 0) return 1;
        return x * pow(x, exp - 1);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int x = scanner.nextInt();
        System.out.println(pow(x, 3));
    }

    private static int pow(int x, int exp) {
        if (exp == 0) return 1;
        return x * pow(x, exp - 1);
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int x = scanner.nextInt();
        System.out.println(pow(x, 3));
    } main {
        Scanner scanner = new Scanner(System.in);
        int x = scanner.nextInt();
        System.out.println(pow(x, 3));
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int x = scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner System.out.println(pow(x, 3)) System.out.println System.out System System.out pow(x, 3) pow x 3 String[] args args private static int pow(int x, int exp) {
        if (exp == 0) return 1;
        return x * pow(x, exp - 1);
    } pow {
        if (exp == 0) return 1;
        return x * pow(x, exp - 1);
    } if (exp == 0) return 1; exp == 0 exp 0 return 1; 1 return x * pow(x, exp - 1); x * pow(x, exp - 1) x pow(x, exp - 1) pow x exp - 1 exp 1 int x x int exp exp public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int x = scanner.nextInt();
        System.out.println(pow(x, 3));
    }

    private static int pow(int x, int exp) {
        if (exp == 0) return 1;
        return x * pow(x, exp - 1);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int x = scanner.nextInt();
        System.out.println(pow(x, 3));
    }

    private static int pow(int x, int exp) {
        if (exp == 0) return 1;
        return x * pow(x, exp - 1);
    }
} Main
import java.util.Scanner;

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

    private static int pow(int x, int exp) {
        if (exp == 0) return 1;
        return x * pow(x, exp - 1);
    }
}