import java.util.Scanner;

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

public class Main{
	int x;
	int ans;
	
	public void shori(){
		Scanner sc = new Scanner(System.in);
		x = sc.nextInt();
		ans = x*x*x;
		System.out.println(ans);
		sc.close();
	}
	public static void main(String[] args){
		Main obj =  new Main();
		obj.shori();
	}
}