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

class Main{
    public static void main(String[] args){
    	InputStreamReader isr = new InputStreamReader(System.in);
    	BufferedReader br = new BufferedReader(isr);
    	try {
			String buf = br.readLine();
			int num = Integer.parseInt(buf);
			System.out.println(num * num * num);
		} 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 class Main{
    public static void main(String[] args){
    	InputStreamReader isr = new InputStreamReader(System.in);
    	BufferedReader br = new BufferedReader(isr);
    	try {
			String buf = br.readLine();
			int num = Integer.parseInt(buf);
			System.out.println(num * num * num);
		} catch (IOException e) {
			e.printStackTrace();
		}
    }
} Main public static void main(String[] args){
    	InputStreamReader isr = new InputStreamReader(System.in);
    	BufferedReader br = new BufferedReader(isr);
    	try {
			String buf = br.readLine();
			int num = Integer.parseInt(buf);
			System.out.println(num * num * num);
		} catch (IOException e) {
			e.printStackTrace();
		}
    } main {
    	InputStreamReader isr = new InputStreamReader(System.in);
    	BufferedReader br = new BufferedReader(isr);
    	try {
			String buf = br.readLine();
			int num = Integer.parseInt(buf);
			System.out.println(num * num * num);
		} catch (IOException e) {
			e.printStackTrace();
		}
    } InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) try {
			String buf = br.readLine();
			int num = Integer.parseInt(buf);
			System.out.println(num * num * num);
		} catch (IOException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		} IOException e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			String buf = br.readLine();
			int num = Integer.parseInt(buf);
			System.out.println(num * num * num);
		} String buf = br.readLine(); buf br.readLine() br.readLine br int num = Integer.parseInt(buf); num Integer.parseInt(buf) Integer.parseInt Integer buf 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){
    	InputStreamReader isr = new InputStreamReader(System.in);
    	BufferedReader br = new BufferedReader(isr);
    	try {
			String buf = br.readLine();
			int num = Integer.parseInt(buf);
			System.out.println(num * num * num);
		} catch (IOException e) {
			e.printStackTrace();
		}
    }
}