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

public class Main {

	public static void main(String[] args) throws IOException, NumberFormatException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		if( line != null ){
			int i = Integer.parseInt(line);
			System.out.println((int)Math.pow(i, 3));
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws IOException, NumberFormatException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		if( line != null ){
			int i = Integer.parseInt(line);
			System.out.println((int)Math.pow(i, 3));
		}
	}
} Main public static void main(String[] args) throws IOException, NumberFormatException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		if( line != null ){
			int i = Integer.parseInt(line);
			System.out.println((int)Math.pow(i, 3));
		}
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		if( line != null ){
			int i = Integer.parseInt(line);
			System.out.println((int)Math.pow(i, 3));
		}
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line = br.readLine(); line br.readLine() br.readLine br if( line != null ){
			int i = Integer.parseInt(line);
			System.out.println((int)Math.pow(i, 3));
		} line != null line null {
			int i = Integer.parseInt(line);
			System.out.println((int)Math.pow(i, 3));
		} int i = Integer.parseInt(line); i Integer.parseInt(line) Integer.parseInt Integer line System.out.println((int)Math.pow(i, 3)) System.out.println System.out System System.out (int)Math.pow(i, 3) Math.pow Math i 3 String[] args args public class Main {

	public static void main(String[] args) throws IOException, NumberFormatException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		if( line != null ){
			int i = Integer.parseInt(line);
			System.out.println((int)Math.pow(i, 3));
		}
	}
} public class Main {

	public static void main(String[] args) throws IOException, NumberFormatException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		if( line != null ){
			int i = Integer.parseInt(line);
			System.out.println((int)Math.pow(i, 3));
		}
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws IOException, NumberFormatException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line = br.readLine();
		if( line != null ){
			int i = Integer.parseInt(line);
			System.out.println((int)Math.pow(i, 3));
		}
	}
}