import java.util.Scanner;

public class Main{
	public static void main(String[] args) {
		Cube test = new Cube();
		test.num();

	}
}
	

class Cube{
	public void num(){

		String	i = new Scanner(System.in).nextLine();
		int number = Integer.parseInt(i);
		System.out.println((int)Math.pow(number,3));

	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args) {
		Cube test = new Cube();
		test.num();

	}
} Main public static void main(String[] args) {
		Cube test = new Cube();
		test.num();

	} main {
		Cube test = new Cube();
		test.num();

	} Cube test = new Cube(); test new Cube() test.num() test.num test String[] args args class Cube{
	public void num(){

		String	i = new Scanner(System.in).nextLine();
		int number = Integer.parseInt(i);
		System.out.println((int)Math.pow(number,3));

	}
} Cube public void num(){

		String	i = new Scanner(System.in).nextLine();
		int number = Integer.parseInt(i);
		System.out.println((int)Math.pow(number,3));

	} num {

		String	i = new Scanner(System.in).nextLine();
		int number = Integer.parseInt(i);
		System.out.println((int)Math.pow(number,3));

	} String	i = new Scanner(System.in).nextLine(); i new Scanner(System.in).nextLine() new Scanner(System.in).nextLine new Scanner(System.in) int number = Integer.parseInt(i); number Integer.parseInt(i) Integer.parseInt Integer i System.out.println((int)Math.pow(number,3)) System.out.println System.out System System.out (int)Math.pow(number,3) Math.pow Math number 3 public class Main{
	public static void main(String[] args) {
		Cube test = new Cube();
		test.num();

	}
} public class Main{
	public static void main(String[] args) {
		Cube test = new Cube();
		test.num();

	}
} Main
import java.util.Scanner;

public class Main{
	public static void main(String[] args) {
		Cube test = new Cube();
		test.num();

	}
}
	

class Cube{
	public void num(){

		String	i = new Scanner(System.in).nextLine();
		int number = Integer.parseInt(i);
		System.out.println((int)Math.pow(number,3));

	}
}