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

class Main {

	public static void main(String[] args) {
		String str;
		double d = 0;
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		try {
			str = br.readLine();
			d = Double.parseDouble((str));
		} catch(Exception e) {
			
		}
		int i = (int)Math.pow(d, 3.0);
		System.out.println(i);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {

	public static void main(String[] args) {
		String str;
		double d = 0;
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		try {
			str = br.readLine();
			d = Double.parseDouble((str));
		} catch(Exception e) {
			
		}
		int i = (int)Math.pow(d, 3.0);
		System.out.println(i);
	}
} Main public static void main(String[] args) {
		String str;
		double d = 0;
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		try {
			str = br.readLine();
			d = Double.parseDouble((str));
		} catch(Exception e) {
			
		}
		int i = (int)Math.pow(d, 3.0);
		System.out.println(i);
	} main {
		String str;
		double d = 0;
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		try {
			str = br.readLine();
			d = Double.parseDouble((str));
		} catch(Exception e) {
			
		}
		int i = (int)Math.pow(d, 3.0);
		System.out.println(i);
	} String str; str double d = 0; d 0 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) try {
			str = br.readLine();
			d = Double.parseDouble((str));
		} catch(Exception e) {
			
		} catch(Exception e) {
			
		} Exception e {
			
		} {
			str = br.readLine();
			d = Double.parseDouble((str));
		} str = br.readLine() str br.readLine() br.readLine br d = Double.parseDouble((str)) d Double.parseDouble((str)) Double.parseDouble Double (str) int i = (int)Math.pow(d, 3.0); i (int)Math.pow(d, 3.0) Math.pow Math d 3.0 System.out.println(i) System.out.println System.out System System.out i String[] args args
import java.io.BufferedReader;
import java.io.InputStreamReader;

class Main {

	public static void main(String[] args) {
		String str;
		double d = 0;
		
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		try {
			str = br.readLine();
			d = Double.parseDouble((str));
		} catch(Exception e) {
			
		}
		int i = (int)Math.pow(d, 3.0);
		System.out.println(i);
	}
}