import java.util.*;
class Main{
    Scanner sc=new Scanner(System.in);
    void main(){
	int a=sc.nextInt();
	System.out.println(a*a*a);
    }
    public static void main(String[]ag){
	new Main().main();
    }
} import java.util.*; util.* java class Main{
    Scanner sc=new Scanner(System.in);
    void main(){
	int a=sc.nextInt();
	System.out.println(a*a*a);
    }
    public static void main(String[]ag){
	new Main().main();
    }
} Main Scanner sc=new Scanner(System.in); sc new Scanner(System.in) void main(){
	int a=sc.nextInt();
	System.out.println(a*a*a);
    } main {
	int a=sc.nextInt();
	System.out.println(a*a*a);
    } int a=sc.nextInt(); a sc.nextInt() sc.nextInt sc System.out.println(a*a*a) System.out.println System.out System System.out a*a*a a*a*a a a a public static void main(String[]ag){
	new Main().main();
    } main {
	new Main().main();
    } new Main().main() new Main().main new Main() String[]ag ag
import java.util.*;
class Main{
    Scanner sc=new Scanner(System.in);
    void main(){
	int a=sc.nextInt();
	System.out.println(a*a*a);
    }
    public static void main(String[]ag){
	new Main().main();
    }
}