import java.util.Scanner;
public class Main {
	public static void main(String[] args){
	Scanner in = new Scanner(System.in);
        String line = in.nextLine();
        int n = Integer.parseInt(line);
	System.out.println(n*n*n);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
	Scanner in = new Scanner(System.in);
        String line = in.nextLine();
        int n = Integer.parseInt(line);
	System.out.println(n*n*n);
	}
} Main public static void main(String[] args){
	Scanner in = new Scanner(System.in);
        String line = in.nextLine();
        int n = Integer.parseInt(line);
	System.out.println(n*n*n);
	} main {
	Scanner in = new Scanner(System.in);
        String line = in.nextLine();
        int n = Integer.parseInt(line);
	System.out.println(n*n*n);
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) String line = in.nextLine(); line in.nextLine() in.nextLine in int n = Integer.parseInt(line); n Integer.parseInt(line) Integer.parseInt Integer line System.out.println(n*n*n) System.out.println System.out System System.out n*n*n n*n*n n n n String[] args args public class Main {
	public static void main(String[] args){
	Scanner in = new Scanner(System.in);
        String line = in.nextLine();
        int n = Integer.parseInt(line);
	System.out.println(n*n*n);
	}
} public class Main {
	public static void main(String[] args){
	Scanner in = new Scanner(System.in);
        String line = in.nextLine();
        int n = Integer.parseInt(line);
	System.out.println(n*n*n);
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args){
	Scanner in = new Scanner(System.in);
        String line = in.nextLine();
        int n = Integer.parseInt(line);
	System.out.println(n*n*n);
	}
}