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

class Main {
	public static void main(String[] args) throws IOException {
		PrintStream printStream = System.out;
		InputStream inputStream = System.in;

		InputStreamReader inputStreamReader = new InputStreamReader(inputStream);
		BufferedReader bufferedReader = new BufferedReader(inputStreamReader);

		String input = bufferedReader.readLine();
		long x = Long.parseLong(input);

		printStream.println(x * x * x);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStream; InputStream java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.PrintStream; PrintStream java.io class Main {
	public static void main(String[] args) throws IOException {
		PrintStream printStream = System.out;
		InputStream inputStream = System.in;

		InputStreamReader inputStreamReader = new InputStreamReader(inputStream);
		BufferedReader bufferedReader = new BufferedReader(inputStreamReader);

		String input = bufferedReader.readLine();
		long x = Long.parseLong(input);

		printStream.println(x * x * x);
	}
} Main public static void main(String[] args) throws IOException {
		PrintStream printStream = System.out;
		InputStream inputStream = System.in;

		InputStreamReader inputStreamReader = new InputStreamReader(inputStream);
		BufferedReader bufferedReader = new BufferedReader(inputStreamReader);

		String input = bufferedReader.readLine();
		long x = Long.parseLong(input);

		printStream.println(x * x * x);
	} main {
		PrintStream printStream = System.out;
		InputStream inputStream = System.in;

		InputStreamReader inputStreamReader = new InputStreamReader(inputStream);
		BufferedReader bufferedReader = new BufferedReader(inputStreamReader);

		String input = bufferedReader.readLine();
		long x = Long.parseLong(input);

		printStream.println(x * x * x);
	} PrintStream printStream = System.out; printStream System.out System System.out InputStream inputStream = System.in; inputStream System.in System System.in InputStreamReader inputStreamReader = new InputStreamReader(inputStream); inputStreamReader new InputStreamReader(inputStream) BufferedReader bufferedReader = new BufferedReader(inputStreamReader); bufferedReader new BufferedReader(inputStreamReader) String input = bufferedReader.readLine(); input bufferedReader.readLine() bufferedReader.readLine bufferedReader long x = Long.parseLong(input); x Long.parseLong(input) Long.parseLong Long input printStream.println(x * x * x) printStream.println printStream x * x * x x * x * x x x x String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintStream;

class Main {
	public static void main(String[] args) throws IOException {
		PrintStream printStream = System.out;
		InputStream inputStream = System.in;

		InputStreamReader inputStreamReader = new InputStreamReader(inputStream);
		BufferedReader bufferedReader = new BufferedReader(inputStreamReader);

		String input = bufferedReader.readLine();
		long x = Long.parseLong(input);

		printStream.println(x * x * x);
	}
}