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

public class Main {
	public static void main(String[] args) throws IOException{
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader bf = new BufferedReader(is);
		int x = Integer.parseInt(bf.readLine());
		double db = Math.pow(x, 3);
		System.out.println((int)db);
	}
} 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{
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader bf = new BufferedReader(is);
		int x = Integer.parseInt(bf.readLine());
		double db = Math.pow(x, 3);
		System.out.println((int)db);
	}
} Main public static void main(String[] args) throws IOException{
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader bf = new BufferedReader(is);
		int x = Integer.parseInt(bf.readLine());
		double db = Math.pow(x, 3);
		System.out.println((int)db);
	} main {
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader bf = new BufferedReader(is);
		int x = Integer.parseInt(bf.readLine());
		double db = Math.pow(x, 3);
		System.out.println((int)db);
	} InputStreamReader is = new InputStreamReader(System.in); is new InputStreamReader(System.in) BufferedReader bf = new BufferedReader(is); bf new BufferedReader(is) int x = Integer.parseInt(bf.readLine()); x Integer.parseInt(bf.readLine()) Integer.parseInt Integer bf.readLine() bf.readLine bf double db = Math.pow(x, 3); db Math.pow(x, 3) Math.pow Math x 3 System.out.println((int)db) System.out.println System.out System System.out (int)db String[] args args public class Main {
	public static void main(String[] args) throws IOException{
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader bf = new BufferedReader(is);
		int x = Integer.parseInt(bf.readLine());
		double db = Math.pow(x, 3);
		System.out.println((int)db);
	}
} public class Main {
	public static void main(String[] args) throws IOException{
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader bf = new BufferedReader(is);
		int x = Integer.parseInt(bf.readLine());
		double db = Math.pow(x, 3);
		System.out.println((int)db);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws IOException{
		InputStreamReader is = new InputStreamReader(System.in);
		BufferedReader bf = new BufferedReader(is);
		int x = Integer.parseInt(bf.readLine());
		double db = Math.pow(x, 3);
		System.out.println((int)db);
	}
}