import java.util.*;

class XCubic {
    public static void main(String...args) {
        final Scanner sc = new Scanner(System.in);
        final int x = sc.nextInt();
        System.out.println(x * x * x);
    }
}

public class Main {
    public static void main(String... args) {
        XCubic.main();
    }
} import java.util.*; util.* java class XCubic {
    public static void main(String...args) {
        final Scanner sc = new Scanner(System.in);
        final int x = sc.nextInt();
        System.out.println(x * x * x);
    }
} XCubic public static void main(String...args) {
        final Scanner sc = new Scanner(System.in);
        final int x = sc.nextInt();
        System.out.println(x * x * x);
    } main {
        final Scanner sc = new Scanner(System.in);
        final int x = sc.nextInt();
        System.out.println(x * x * x);
    } final Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc 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 public class Main {
    public static void main(String... args) {
        XCubic.main();
    }
} Main public static void main(String... args) {
        XCubic.main();
    } main {
        XCubic.main();
    } XCubic.main() XCubic.main XCubic String... args args public class Main {
    public static void main(String... args) {
        XCubic.main();
    }
} public class Main {
    public static void main(String... args) {
        XCubic.main();
    }
} Main
import java.util.*;

class XCubic {
    public static void main(String...args) {
        final Scanner sc = new Scanner(System.in);
        final int x = sc.nextInt();
        System.out.println(x * x * x);
    }
}

public class Main {
    public static void main(String... args) {
        XCubic.main();
    }
}