import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

class Main {
    public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       int x = in.nextInt();
       System.out.println(""+(x*x*x));
    }
} import java.io.*; io.* java import java.util.ArrayList; ArrayList java.util import java.util.Collections; Collections java.util import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       int x = in.nextInt();
       System.out.println(""+(x*x*x));
    }
} Main public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       int x = in.nextInt();
       System.out.println(""+(x*x*x));
    } main {
       Scanner in = new Scanner(System.in);
       int x = in.nextInt();
       System.out.println(""+(x*x*x));
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) int x = in.nextInt(); x in.nextInt() in.nextInt in System.out.println(""+(x*x*x)) System.out.println System.out System System.out ""+(x*x*x) "" (x*x*x) x*x*x x x x String[] args args
import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

class Main {
    public static void main(String[] args) throws IOException {
       Scanner in = new Scanner(System.in);
       int x = in.nextInt();
       System.out.println(""+(x*x*x));
    }
}