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

class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		int a = Integer.parseInt(s);
		int a_3 = a*a*a;
		System.out.println(a_3);

	}

} 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 IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		int a = Integer.parseInt(s);
		int a_3 = a*a*a;
		System.out.println(a_3);

	}

} Main public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		int a = Integer.parseInt(s);
		int a_3 = a*a*a;
		System.out.println(a_3);

	} main {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		int a = Integer.parseInt(s);
		int a_3 = a*a*a;
		System.out.println(a_3);

	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) String s = new String(in.readLine()); s new String(in.readLine()) int a = Integer.parseInt(s); a Integer.parseInt(s) Integer.parseInt Integer s int a_3 = a*a*a; a_3 a*a*a a*a*a a a a System.out.println(a_3) System.out.println System.out System System.out a_3 String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String s = new String(in.readLine());
		int a = Integer.parseInt(s);
		int a_3 = a*a*a;
		System.out.println(a_3);

	}

}