import java.util.Scanner;

class Main {
    int x;
    public void suzuki(){

        Scanner sc = new Scanner(System.in);

        x = sc.nextInt();

        System.out.println(x * x * x);
    }
    public static void main(String[] args) {

        new Main().suzuki();
    }

} import java.util.Scanner; Scanner java.util class Main {
    int x;
    public void suzuki(){

        Scanner sc = new Scanner(System.in);

        x = sc.nextInt();

        System.out.println(x * x * x);
    }
    public static void main(String[] args) {

        new Main().suzuki();
    }

} Main int x; x public void suzuki(){

        Scanner sc = new Scanner(System.in);

        x = sc.nextInt();

        System.out.println(x * x * x);
    } suzuki {

        Scanner sc = new Scanner(System.in);

        x = sc.nextInt();

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

        new Main().suzuki();
    } main {

        new Main().suzuki();
    } new Main().suzuki() new Main().suzuki new Main() String[] args args
import java.util.Scanner;

class Main {
    int x;
    public void suzuki(){

        Scanner sc = new Scanner(System.in);

        x = sc.nextInt();

        System.out.println(x * x * x);
    }
    public static void main(String[] args) {

        new Main().suzuki();
    }

}