import java.util.Scanner;

public class Main {
	public static void main(String[] args){
	    Scanner std = new Scanner(System.in);
	    int a = Integer.parseInt(std.next());
	    a = (int)Math.pow(a,3);
	    System.out.println(a);
	  }
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
	    Scanner std = new Scanner(System.in);
	    int a = Integer.parseInt(std.next());
	    a = (int)Math.pow(a,3);
	    System.out.println(a);
	  }
} Main public static void main(String[] args){
	    Scanner std = new Scanner(System.in);
	    int a = Integer.parseInt(std.next());
	    a = (int)Math.pow(a,3);
	    System.out.println(a);
	  } main {
	    Scanner std = new Scanner(System.in);
	    int a = Integer.parseInt(std.next());
	    a = (int)Math.pow(a,3);
	    System.out.println(a);
	  } Scanner std = new Scanner(System.in); std new Scanner(System.in) int a = Integer.parseInt(std.next()); a Integer.parseInt(std.next()) Integer.parseInt Integer std.next() std.next std a = (int)Math.pow(a,3) a (int)Math.pow(a,3) Math.pow Math a 3 System.out.println(a) System.out.println System.out System System.out a String[] args args public class Main {
	public static void main(String[] args){
	    Scanner std = new Scanner(System.in);
	    int a = Integer.parseInt(std.next());
	    a = (int)Math.pow(a,3);
	    System.out.println(a);
	  }
} public class Main {
	public static void main(String[] args){
	    Scanner std = new Scanner(System.in);
	    int a = Integer.parseInt(std.next());
	    a = (int)Math.pow(a,3);
	    System.out.println(a);
	  }
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
	    Scanner std = new Scanner(System.in);
	    int a = Integer.parseInt(std.next());
	    a = (int)Math.pow(a,3);
	    System.out.println(a);
	  }
}