import java.io.IOException;
import java.util.Scanner;

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

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