import java.util.Scanner;
public class Main{
	int X;
	
	public void solve(){
		Scanner sc = new Scanner(System.in);
		X=sc.nextInt();
		System.out.println(X*X*X);
	
	}
	public static void main(String[] args){
		Main obj = new Main();
		obj.solve();
	}
} import java.util.Scanner; Scanner java.util public class Main{
	int X;
	
	public void solve(){
		Scanner sc = new Scanner(System.in);
		X=sc.nextInt();
		System.out.println(X*X*X);
	
	}
	public static void main(String[] args){
		Main obj = new Main();
		obj.solve();
	}
} Main int X; X public void solve(){
		Scanner sc = new Scanner(System.in);
		X=sc.nextInt();
		System.out.println(X*X*X);
	
	} solve {
		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){
		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;
	
	public void solve(){
		Scanner sc = new Scanner(System.in);
		X=sc.nextInt();
		System.out.println(X*X*X);
	
	}
	public static void main(String[] args){
		Main obj = new Main();
		obj.solve();
	}
} public class Main{
	int X;
	
	public void solve(){
		Scanner sc = new Scanner(System.in);
		X=sc.nextInt();
		System.out.println(X*X*X);
	
	}
	public static void main(String[] args){
		Main obj = new Main();
		obj.solve();
	}
} Main
import java.util.Scanner;
public class Main{
	int X;
	
	public void solve(){
		Scanner sc = new Scanner(System.in);
		X=sc.nextInt();
		System.out.println(X*X*X);
	
	}
	public static void main(String[] args){
		Main obj = new Main();
		obj.solve();
	}
}