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