import java.util.*;

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

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