import java.util.Scanner;

/**
 * Created by labuser on 2016/04/15.
 */
public class Main {
    public static void main(String[] args) {
        new Main().run();
    }


    private static void run() {
        int x;
        int a;

        Scanner sc = new Scanner(System.in);
        x = Integer.parseInt(sc.nextLine());

        a = x * x * x;
        System.out.println(a);
    }

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


    private static void run() {
        int x;
        int a;

        Scanner sc = new Scanner(System.in);
        x = Integer.parseInt(sc.nextLine());

        a = x * x * x;
        System.out.println(a);
    }

} Main public static void main(String[] args) {
        new Main().run();
    } main {
        new Main().run();
    } new Main().run() new Main().run new Main() String[] args args private static void run() {
        int x;
        int a;

        Scanner sc = new Scanner(System.in);
        x = Integer.parseInt(sc.nextLine());

        a = x * x * x;
        System.out.println(a);
    } run {
        int x;
        int a;

        Scanner sc = new Scanner(System.in);
        x = Integer.parseInt(sc.nextLine());

        a = x * x * x;
        System.out.println(a);
    } int x; x int a; a Scanner sc = new Scanner(System.in); sc new Scanner(System.in) x = Integer.parseInt(sc.nextLine()) x Integer.parseInt(sc.nextLine()) Integer.parseInt Integer sc.nextLine() sc.nextLine sc a = x * x * x a x * x * x x * x * x x x x System.out.println(a) System.out.println System.out System System.out a public class Main {
    public static void main(String[] args) {
        new Main().run();
    }


    private static void run() {
        int x;
        int a;

        Scanner sc = new Scanner(System.in);
        x = Integer.parseInt(sc.nextLine());

        a = x * x * x;
        System.out.println(a);
    }

} public class Main {
    public static void main(String[] args) {
        new Main().run();
    }


    private static void run() {
        int x;
        int a;

        Scanner sc = new Scanner(System.in);
        x = Integer.parseInt(sc.nextLine());

        a = x * x * x;
        System.out.println(a);
    }

} Main
import java.util.Scanner;

/**
 * Created by labuser on 2016/04/15.
 */
public class Main {
    public static void main(String[] args) {
        new Main().run();
    }


    private static void run() {
        int x;
        int a;

        Scanner sc = new Scanner(System.in);
        x = Integer.parseInt(sc.nextLine());

        a = x * x * x;
        System.out.println(a);
    }

}