import java.io.PrintWriter;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
        int x = in.nextInt();
        out.println(x*x*x);
        out.flush();
        in.close();
	}
} import java.io.PrintWriter; PrintWriter java.io import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
        int x = in.nextInt();
        out.println(x*x*x);
        out.flush();
        in.close();
	}
} Main public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
        int x = in.nextInt();
        out.println(x*x*x);
        out.flush();
        in.close();
	} main {
		Scanner in = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
        int x = in.nextInt();
        out.println(x*x*x);
        out.flush();
        in.close();
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) int x = in.nextInt(); x in.nextInt() in.nextInt in out.println(x*x*x) out.println out x*x*x x*x*x x x x out.flush() out.flush out in.close() in.close in String[] args args public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
        int x = in.nextInt();
        out.println(x*x*x);
        out.flush();
        in.close();
	}
} public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
        int x = in.nextInt();
        out.println(x*x*x);
        out.flush();
        in.close();
	}
} Main
import java.io.PrintWriter;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		PrintWriter out = new PrintWriter(System.out);
        int x = in.nextInt();
        out.println(x*x*x);
        out.flush();
        in.close();
	}
}