import java.util.*;

class Main{
    public static void main( String[] args){
        Scanner sc = new Scanner(System.in);
        int i = sc.nextInt();
        if(i<1 || 100<i){
            System.exit(-1);
        }
            System.out.println(i*i*i);
    }
} import java.util.*; util.* java class Main{
    public static void main( String[] args){
        Scanner sc = new Scanner(System.in);
        int i = sc.nextInt();
        if(i<1 || 100<i){
            System.exit(-1);
        }
            System.out.println(i*i*i);
    }
} Main public static void main( String[] args){
        Scanner sc = new Scanner(System.in);
        int i = sc.nextInt();
        if(i<1 || 100<i){
            System.exit(-1);
        }
            System.out.println(i*i*i);
    } main {
        Scanner sc = new Scanner(System.in);
        int i = sc.nextInt();
        if(i<1 || 100<i){
            System.exit(-1);
        }
            System.out.println(i*i*i);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int i = sc.nextInt(); i sc.nextInt() sc.nextInt sc if(i<1 || 100<i){
            System.exit(-1);
        } i<1 || 100<i i<1 i 1 100<i 100 i {
            System.exit(-1);
        } System.exit(-1) System.exit System -1 1 System.out.println(i*i*i) System.out.println System.out System System.out i*i*i i*i*i i i i String[] args args
import java.util.*;

class Main{
    public static void main( String[] args){
        Scanner sc = new Scanner(System.in);
        int i = sc.nextInt();
        if(i<1 || 100<i){
            System.exit(-1);
        }
            System.out.println(i*i*i);
    }
}