import java.util.*;
import static java.lang.Math.*;
class Main{
	public static void main(String[] args) {
		Scanner sc=new  Scanner(System.in);
		int x=sc.nextInt();
		int ans=(int) pow(x,3);
		System.out.println(ans);
		
	}
} import java.util.*; util.* java import static java.lang.Math.*; import static java.lang.Math.*; import static java.lang.Math.*; class Main{
	public static void main(String[] args) {
		Scanner sc=new  Scanner(System.in);
		int x=sc.nextInt();
		int ans=(int) pow(x,3);
		System.out.println(ans);
		
	}
} Main public static void main(String[] args) {
		Scanner sc=new  Scanner(System.in);
		int x=sc.nextInt();
		int ans=(int) pow(x,3);
		System.out.println(ans);
		
	} main {
		Scanner sc=new  Scanner(System.in);
		int x=sc.nextInt();
		int ans=(int) pow(x,3);
		System.out.println(ans);
		
	} Scanner sc=new  Scanner(System.in); sc new  Scanner(System.in) int x=sc.nextInt(); x sc.nextInt() sc.nextInt sc int ans=(int) pow(x,3); ans (int) pow(x,3) pow x 3 System.out.println(ans) System.out.println System.out System System.out ans String[] args args
import java.util.*;
import static java.lang.Math.*;
class Main{
	public static void main(String[] args) {
		Scanner sc=new  Scanner(System.in);
		int x=sc.nextInt();
		int ans=(int) pow(x,3);
		System.out.println(ans);
		
	}
}