import java.util.Scanner;

public class Main {
  static public void main(String args[]){
  	Scanner scan = new Scanner(System.in);
  	
  	int x = scan.nextInt();
  	
  	int result = 0;
  	
  	result = (int)Math.pow(x,3);
  	System.out.println(result);
  }
} import java.util.Scanner; Scanner java.util public class Main {
  static public void main(String args[]){
  	Scanner scan = new Scanner(System.in);
  	
  	int x = scan.nextInt();
  	
  	int result = 0;
  	
  	result = (int)Math.pow(x,3);
  	System.out.println(result);
  }
} Main static public void main(String args[]){
  	Scanner scan = new Scanner(System.in);
  	
  	int x = scan.nextInt();
  	
  	int result = 0;
  	
  	result = (int)Math.pow(x,3);
  	System.out.println(result);
  } main {
  	Scanner scan = new Scanner(System.in);
  	
  	int x = scan.nextInt();
  	
  	int result = 0;
  	
  	result = (int)Math.pow(x,3);
  	System.out.println(result);
  } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int result = 0; result 0 result = (int)Math.pow(x,3) result (int)Math.pow(x,3) Math.pow Math x 3 System.out.println(result) System.out.println System.out System System.out result String args[] args public class Main {
  static public void main(String args[]){
  	Scanner scan = new Scanner(System.in);
  	
  	int x = scan.nextInt();
  	
  	int result = 0;
  	
  	result = (int)Math.pow(x,3);
  	System.out.println(result);
  }
} public class Main {
  static public void main(String args[]){
  	Scanner scan = new Scanner(System.in);
  	
  	int x = scan.nextInt();
  	
  	int result = 0;
  	
  	result = (int)Math.pow(x,3);
  	System.out.println(result);
  }
} Main
import java.util.Scanner;

public class Main {
  static public void main(String args[]){
  	Scanner scan = new Scanner(System.in);
  	
  	int x = scan.nextInt();
  	
  	int result = 0;
  	
  	result = (int)Math.pow(x,3);
  	System.out.println(result);
  }
}