import java.io.BufferedReader;
import java.io.InputStreamReader;

class Main {
	public static void main(String[] args) {
		try (BufferedReader stdReader = new BufferedReader(
				new InputStreamReader(System.in))) {
			String line = null;
			while ((line = stdReader.readLine()) != null) {
				if (!line.equals("")) {
					int i = Integer.parseInt(line);
					System.out.print(i * i * i);
				}
				break;
			}
			stdReader.close();
			System.out.println();
		} catch (Exception e) {

		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {
	public static void main(String[] args) {
		try (BufferedReader stdReader = new BufferedReader(
				new InputStreamReader(System.in))) {
			String line = null;
			while ((line = stdReader.readLine()) != null) {
				if (!line.equals("")) {
					int i = Integer.parseInt(line);
					System.out.print(i * i * i);
				}
				break;
			}
			stdReader.close();
			System.out.println();
		} catch (Exception e) {

		}
	}
} Main public static void main(String[] args) {
		try (BufferedReader stdReader = new BufferedReader(
				new InputStreamReader(System.in))) {
			String line = null;
			while ((line = stdReader.readLine()) != null) {
				if (!line.equals("")) {
					int i = Integer.parseInt(line);
					System.out.print(i * i * i);
				}
				break;
			}
			stdReader.close();
			System.out.println();
		} catch (Exception e) {

		}
	} main {
		try (BufferedReader stdReader = new BufferedReader(
				new InputStreamReader(System.in))) {
			String line = null;
			while ((line = stdReader.readLine()) != null) {
				if (!line.equals("")) {
					int i = Integer.parseInt(line);
					System.out.print(i * i * i);
				}
				break;
			}
			stdReader.close();
			System.out.println();
		} catch (Exception e) {

		}
	} try (BufferedReader stdReader = new BufferedReader(
				new InputStreamReader(System.in))) {
			String line = null;
			while ((line = stdReader.readLine()) != null) {
				if (!line.equals("")) {
					int i = Integer.parseInt(line);
					System.out.print(i * i * i);
				}
				break;
			}
			stdReader.close();
			System.out.println();
		} catch (Exception e) {

		} catch (Exception e) {

		} Exception e {

		} {
			String line = null;
			while ((line = stdReader.readLine()) != null) {
				if (!line.equals("")) {
					int i = Integer.parseInt(line);
					System.out.print(i * i * i);
				}
				break;
			}
			stdReader.close();
			System.out.println();
		} BufferedReader stdReader = new BufferedReader(
				new InputStreamReader(System.in)) BufferedReader stdReader = new BufferedReader(
				new InputStreamReader(System.in)) new BufferedReader(
				new InputStreamReader(System.in)) String line = null; line null while ((line = stdReader.readLine()) != null) {
				if (!line.equals("")) {
					int i = Integer.parseInt(line);
					System.out.print(i * i * i);
				}
				break;
			} (line = stdReader.readLine()) != null (line = stdReader.readLine()) line stdReader.readLine() stdReader.readLine stdReader null {
				if (!line.equals("")) {
					int i = Integer.parseInt(line);
					System.out.print(i * i * i);
				}
				break;
			} if (!line.equals("")) {
					int i = Integer.parseInt(line);
					System.out.print(i * i * i);
				} !line.equals("") line.equals("") line.equals line "" {
					int i = Integer.parseInt(line);
					System.out.print(i * i * i);
				} int i = Integer.parseInt(line); i Integer.parseInt(line) Integer.parseInt Integer line System.out.print(i * i * i) System.out.print System.out System System.out i * i * i i * i * i i i i break; stdReader.close() stdReader.close stdReader System.out.println() System.out.println System.out System System.out String[] args args
import java.io.BufferedReader;
import java.io.InputStreamReader;

class Main {
	public static void main(String[] args) {
		try (BufferedReader stdReader = new BufferedReader(
				new InputStreamReader(System.in))) {
			String line = null;
			while ((line = stdReader.readLine()) != null) {
				if (!line.equals("")) {
					int i = Integer.parseInt(line);
					System.out.print(i * i * i);
				}
				break;
			}
			stdReader.close();
			System.out.println();
		} catch (Exception e) {

		}
	}
}