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

class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String strNum = br.readLine();
		Integer num = Integer.parseInt(strNum);
		System.out.println(num*num*num);
	}

} 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 br = new BufferedReader(new InputStreamReader(System.in));
		String strNum = br.readLine();
		Integer num = Integer.parseInt(strNum);
		System.out.println(num*num*num);
	}

} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String strNum = br.readLine();
		Integer num = Integer.parseInt(strNum);
		System.out.println(num*num*num);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String strNum = br.readLine();
		Integer num = Integer.parseInt(strNum);
		System.out.println(num*num*num);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String strNum = br.readLine(); strNum br.readLine() br.readLine br Integer num = Integer.parseInt(strNum); num Integer.parseInt(strNum) Integer.parseInt Integer strNum System.out.println(num*num*num) System.out.println System.out System System.out num*num*num num*num*num num num num 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 br = new BufferedReader(new InputStreamReader(System.in));
		String strNum = br.readLine();
		Integer num = Integer.parseInt(strNum);
		System.out.println(num*num*num);
	}

}