import java.util.Scanner;

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

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