import java.util.Scanner;
	class Main{

		public static void main(String[] args){
	Scanner sc=new Scanner(System.in);
long x;
x = sc.nextInt();
long g;
g=x*x*x;
System.out.println(g);

	
	}
	} import java.util.Scanner; Scanner java.util class Main{

		public static void main(String[] args){
	Scanner sc=new Scanner(System.in);
long x;
x = sc.nextInt();
long g;
g=x*x*x;
System.out.println(g);

	
	}
	} Main public static void main(String[] args){
	Scanner sc=new Scanner(System.in);
long x;
x = sc.nextInt();
long g;
g=x*x*x;
System.out.println(g);

	
	} main {
	Scanner sc=new Scanner(System.in);
long x;
x = sc.nextInt();
long g;
g=x*x*x;
System.out.println(g);

	
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) long x; x x = sc.nextInt() x sc.nextInt() sc.nextInt sc long g; g g=x*x*x g x*x*x x*x*x x x x System.out.println(g) System.out.println System.out System System.out g String[] args args
import java.util.Scanner;
	class Main{

		public static void main(String[] args){
	Scanner sc=new Scanner(System.in);
long x;
x = sc.nextInt();
long g;
g=x*x*x;
System.out.println(g);

	
	}
	}