import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {

	public static void main(String[] args) throws IOException{
		  BufferedReader r =new BufferedReader(new InputStreamReader(System.in), 1);
		                                        // ???????????\????????????
		  
		  String s =r.readLine();
		  int x = Integer.parseInt(s);
		System.out.println(x*x*x);
		
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws IOException{
		  BufferedReader r =new BufferedReader(new InputStreamReader(System.in), 1);
		                                        // ???????????\????????????
		  
		  String s =r.readLine();
		  int x = Integer.parseInt(s);
		System.out.println(x*x*x);
		
	}
} Main public static void main(String[] args) throws IOException{
		  BufferedReader r =new BufferedReader(new InputStreamReader(System.in), 1);
		                                        // ???????????\????????????
		  
		  String s =r.readLine();
		  int x = Integer.parseInt(s);
		System.out.println(x*x*x);
		
	} main {
		  BufferedReader r =new BufferedReader(new InputStreamReader(System.in), 1);
		                                        // ???????????\????????????
		  
		  String s =r.readLine();
		  int x = Integer.parseInt(s);
		System.out.println(x*x*x);
		
	} BufferedReader r =new BufferedReader(new InputStreamReader(System.in), 1); r new BufferedReader(new InputStreamReader(System.in), 1) String s =r.readLine(); s r.readLine() r.readLine r int x = Integer.parseInt(s); x Integer.parseInt(s) Integer.parseInt Integer s System.out.println(x*x*x) System.out.println System.out System System.out x*x*x x*x*x x x x String[] args args public class Main {

	public static void main(String[] args) throws IOException{
		  BufferedReader r =new BufferedReader(new InputStreamReader(System.in), 1);
		                                        // ???????????\????????????
		  
		  String s =r.readLine();
		  int x = Integer.parseInt(s);
		System.out.println(x*x*x);
		
	}
} public class Main {

	public static void main(String[] args) throws IOException{
		  BufferedReader r =new BufferedReader(new InputStreamReader(System.in), 1);
		                                        // ???????????\????????????
		  
		  String s =r.readLine();
		  int x = Integer.parseInt(s);
		System.out.println(x*x*x);
		
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {

	public static void main(String[] args) throws IOException{
		  BufferedReader r =new BufferedReader(new InputStreamReader(System.in), 1);
		                                        // ???????????\????????????
		  
		  String s =r.readLine();
		  int x = Integer.parseInt(s);
		System.out.println(x*x*x);
		
	}
}