import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		solve();
	}

	private static void solve() {
		Scanner scn = new Scanner(System.in);
		int x = scn.nextInt();
		System.out.println(x*x*x);
		scn.close();
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		solve();
	}

	private static void solve() {
		Scanner scn = new Scanner(System.in);
		int x = scn.nextInt();
		System.out.println(x*x*x);
		scn.close();
	}

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

	public static void main(String[] args) {
		solve();
	}

	private static void solve() {
		Scanner scn = new Scanner(System.in);
		int x = scn.nextInt();
		System.out.println(x*x*x);
		scn.close();
	}

} public class Main {

	public static void main(String[] args) {
		solve();
	}

	private static void solve() {
		Scanner scn = new Scanner(System.in);
		int x = scn.nextInt();
		System.out.println(x*x*x);
		scn.close();
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		solve();
	}

	private static void solve() {
		Scanner scn = new Scanner(System.in);
		int x = scn.nextInt();
		System.out.println(x*x*x);
		scn.close();
	}

}