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

public class Main {

	public static void main(String[] args) {
		BufferedReader inMsg = new BufferedReader(new InputStreamReader(System.in));
		String line = "";
		try {
			while ((line = inMsg.readLine()) != null) {
				Integer a = Integer.parseInt(line);
				double pwrd = Math.pow(a, 3);
			    System.out.println(Math.round(pwrd));
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

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

	public static void main(String[] args) {
		BufferedReader inMsg = new BufferedReader(new InputStreamReader(System.in));
		String line = "";
		try {
			while ((line = inMsg.readLine()) != null) {
				Integer a = Integer.parseInt(line);
				double pwrd = Math.pow(a, 3);
			    System.out.println(Math.round(pwrd));
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

} Main public static void main(String[] args) {
		BufferedReader inMsg = new BufferedReader(new InputStreamReader(System.in));
		String line = "";
		try {
			while ((line = inMsg.readLine()) != null) {
				Integer a = Integer.parseInt(line);
				double pwrd = Math.pow(a, 3);
			    System.out.println(Math.round(pwrd));
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	} main {
		BufferedReader inMsg = new BufferedReader(new InputStreamReader(System.in));
		String line = "";
		try {
			while ((line = inMsg.readLine()) != null) {
				Integer a = Integer.parseInt(line);
				double pwrd = Math.pow(a, 3);
			    System.out.println(Math.round(pwrd));
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	} BufferedReader inMsg = new BufferedReader(new InputStreamReader(System.in)); inMsg new BufferedReader(new InputStreamReader(System.in)) String line = ""; line "" try {
			while ((line = inMsg.readLine()) != null) {
				Integer a = Integer.parseInt(line);
				double pwrd = Math.pow(a, 3);
			    System.out.println(Math.round(pwrd));
			}
		} catch (IOException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} IOException e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			while ((line = inMsg.readLine()) != null) {
				Integer a = Integer.parseInt(line);
				double pwrd = Math.pow(a, 3);
			    System.out.println(Math.round(pwrd));
			}
		} while ((line = inMsg.readLine()) != null) {
				Integer a = Integer.parseInt(line);
				double pwrd = Math.pow(a, 3);
			    System.out.println(Math.round(pwrd));
			} (line = inMsg.readLine()) != null (line = inMsg.readLine()) line inMsg.readLine() inMsg.readLine inMsg null {
				Integer a = Integer.parseInt(line);
				double pwrd = Math.pow(a, 3);
			    System.out.println(Math.round(pwrd));
			} Integer a = Integer.parseInt(line); a Integer.parseInt(line) Integer.parseInt Integer line double pwrd = Math.pow(a, 3); pwrd Math.pow(a, 3) Math.pow Math a 3 System.out.println(Math.round(pwrd)) System.out.println System.out System System.out Math.round(pwrd) Math.round Math pwrd String[] args args public class Main {

	public static void main(String[] args) {
		BufferedReader inMsg = new BufferedReader(new InputStreamReader(System.in));
		String line = "";
		try {
			while ((line = inMsg.readLine()) != null) {
				Integer a = Integer.parseInt(line);
				double pwrd = Math.pow(a, 3);
			    System.out.println(Math.round(pwrd));
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

} public class Main {

	public static void main(String[] args) {
		BufferedReader inMsg = new BufferedReader(new InputStreamReader(System.in));
		String line = "";
		try {
			while ((line = inMsg.readLine()) != null) {
				Integer a = Integer.parseInt(line);
				double pwrd = Math.pow(a, 3);
			    System.out.println(Math.round(pwrd));
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		BufferedReader inMsg = new BufferedReader(new InputStreamReader(System.in));
		String line = "";
		try {
			while ((line = inMsg.readLine()) != null) {
				Integer a = Integer.parseInt(line);
				double pwrd = Math.pow(a, 3);
			    System.out.println(Math.round(pwrd));
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}