import java.util.Scanner;

public class Main {
	private int calc(){
		Scanner scanner = new Scanner(System.in);
		int x =scanner.nextInt();
		return x*x*x;
	}
	
	public static void main(String[] args) {
		Main cubic =new Main();
		System.out.println(cubic.calc());

	}

} import java.util.Scanner; Scanner java.util public class Main {
	private int calc(){
		Scanner scanner = new Scanner(System.in);
		int x =scanner.nextInt();
		return x*x*x;
	}
	
	public static void main(String[] args) {
		Main cubic =new Main();
		System.out.println(cubic.calc());

	}

} Main private int calc(){
		Scanner scanner = new Scanner(System.in);
		int x =scanner.nextInt();
		return x*x*x;
	} calc {
		Scanner scanner = new Scanner(System.in);
		int x =scanner.nextInt();
		return x*x*x;
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int x =scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner return x*x*x; x*x*x x*x*x x x x public static void main(String[] args) {
		Main cubic =new Main();
		System.out.println(cubic.calc());

	} main {
		Main cubic =new Main();
		System.out.println(cubic.calc());

	} Main cubic =new Main(); cubic new Main() System.out.println(cubic.calc()) System.out.println System.out System System.out cubic.calc() cubic.calc cubic String[] args args public class Main {
	private int calc(){
		Scanner scanner = new Scanner(System.in);
		int x =scanner.nextInt();
		return x*x*x;
	}
	
	public static void main(String[] args) {
		Main cubic =new Main();
		System.out.println(cubic.calc());

	}

} public class Main {
	private int calc(){
		Scanner scanner = new Scanner(System.in);
		int x =scanner.nextInt();
		return x*x*x;
	}
	
	public static void main(String[] args) {
		Main cubic =new Main();
		System.out.println(cubic.calc());

	}

} Main
import java.util.Scanner;

public class Main {
	private int calc(){
		Scanner scanner = new Scanner(System.in);
		int x =scanner.nextInt();
		return x*x*x;
	}
	
	public static void main(String[] args) {
		Main cubic =new Main();
		System.out.println(cubic.calc());

	}

}