import java.util.*;
import java.lang.*;

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

class Main {
	public static void main(String[] args ) throws java.lang.Exception{
		Scanner in = new Scanner(System.in);
		int x = in.nextInt();
		int y = (int)Math.pow(x,3);
		System.out.println(y);
	}
}