import java.util.Scanner;
class Main{
    public void kozueteacher() {
    Scanner sc = new Scanner(System.in); 
    int x = sc.nextInt();
        int y = x * x;
        int z = y * x;
        System.out.println(z);
    }
    public static void main(String[] args) {
        new Main().kozueteacher();
    }
} import java.util.Scanner; Scanner java.util class Main{
    public void kozueteacher() {
    Scanner sc = new Scanner(System.in); 
    int x = sc.nextInt();
        int y = x * x;
        int z = y * x;
        System.out.println(z);
    }
    public static void main(String[] args) {
        new Main().kozueteacher();
    }
} Main public void kozueteacher() {
    Scanner sc = new Scanner(System.in); 
    int x = sc.nextInt();
        int y = x * x;
        int z = y * x;
        System.out.println(z);
    } kozueteacher {
    Scanner sc = new Scanner(System.in); 
    int x = sc.nextInt();
        int y = x * x;
        int z = y * x;
        System.out.println(z);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = x * x; y x * x x x int z = y * x; z y * x y x System.out.println(z) System.out.println System.out System System.out z public static void main(String[] args) {
        new Main().kozueteacher();
    } main {
        new Main().kozueteacher();
    } new Main().kozueteacher() new Main().kozueteacher new Main() String[] args args
import java.util.Scanner;
class Main{
    public void kozueteacher() {
    Scanner sc = new Scanner(System.in); 
    int x = sc.nextInt();
        int y = x * x;
        int z = y * x;
        System.out.println(z);
    }
    public static void main(String[] args) {
        new Main().kozueteacher();
    }
}