import java.util.Scanner;
import java.lang.Math;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        System.out.println((int)Math.pow(n, 3));
        sc.close();
    }
} import java.util.Scanner; Scanner java.util import java.lang.Math; Math java.lang class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        System.out.println((int)Math.pow(n, 3));
        sc.close();
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        System.out.println((int)Math.pow(n, 3));
        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        System.out.println((int)Math.pow(n, 3));
        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = Integer.parseInt(sc.next()); n Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc System.out.println((int)Math.pow(n, 3)) System.out.println System.out System System.out (int)Math.pow(n, 3) Math.pow Math n 3 sc.close() sc.close sc String[] args args
import java.util.Scanner;
import java.lang.Math;

class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = Integer.parseInt(sc.next());
        System.out.println((int)Math.pow(n, 3));
        sc.close();
    }
}
