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

class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

		int x = Integer.parseInt(in.readLine());

		int x3 = (int)Math.pow(x, 3);

		System.out.println(x3);

	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

		int x = Integer.parseInt(in.readLine());

		int x3 = (int)Math.pow(x, 3);

		System.out.println(x3);

	}

} Main public static void main(String[] args) throws NumberFormatException, IOException {

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

		int x = Integer.parseInt(in.readLine());

		int x3 = (int)Math.pow(x, 3);

		System.out.println(x3);

	} main {

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

		int x = Integer.parseInt(in.readLine());

		int x3 = (int)Math.pow(x, 3);

		System.out.println(x3);

	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) int x = Integer.parseInt(in.readLine()); x Integer.parseInt(in.readLine()) Integer.parseInt Integer in.readLine() in.readLine in int x3 = (int)Math.pow(x, 3); x3 (int)Math.pow(x, 3) Math.pow Math x 3 System.out.println(x3) System.out.println System.out System System.out x3 String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {

	public static void main(String[] args) throws NumberFormatException, IOException {

		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

		int x = Integer.parseInt(in.readLine());

		int x3 = (int)Math.pow(x, 3);

		System.out.println(x3);

	}

}