import java.io.*;

class Main{
    public static void main(String args[]) throws IOException{

	int x=0;
	int syo=0;

	InputStreamReader i = new InputStreamReader(System.in);
	BufferedReader br = new BufferedReader(i);

	String buf = br.readLine();
	x = Integer.parseInt(buf);
	syo = (int)Math.pow(x,3);

	System.out.println(syo);
    }
} import java.io.*; io.* java class Main{
    public static void main(String args[]) throws IOException{

	int x=0;
	int syo=0;

	InputStreamReader i = new InputStreamReader(System.in);
	BufferedReader br = new BufferedReader(i);

	String buf = br.readLine();
	x = Integer.parseInt(buf);
	syo = (int)Math.pow(x,3);

	System.out.println(syo);
    }
} Main public static void main(String args[]) throws IOException{

	int x=0;
	int syo=0;

	InputStreamReader i = new InputStreamReader(System.in);
	BufferedReader br = new BufferedReader(i);

	String buf = br.readLine();
	x = Integer.parseInt(buf);
	syo = (int)Math.pow(x,3);

	System.out.println(syo);
    } main {

	int x=0;
	int syo=0;

	InputStreamReader i = new InputStreamReader(System.in);
	BufferedReader br = new BufferedReader(i);

	String buf = br.readLine();
	x = Integer.parseInt(buf);
	syo = (int)Math.pow(x,3);

	System.out.println(syo);
    } int x=0; x 0 int syo=0; syo 0 InputStreamReader i = new InputStreamReader(System.in); i new InputStreamReader(System.in) BufferedReader br = new BufferedReader(i); br new BufferedReader(i) String buf = br.readLine(); buf br.readLine() br.readLine br x = Integer.parseInt(buf) x Integer.parseInt(buf) Integer.parseInt Integer buf syo = (int)Math.pow(x,3) syo (int)Math.pow(x,3) Math.pow Math x 3 System.out.println(syo) System.out.println System.out System System.out syo String args[] args
import java.io.*;

class Main{
    public static void main(String args[]) throws IOException{

	int x=0;
	int syo=0;

	InputStreamReader i = new InputStreamReader(System.in);
	BufferedReader br = new BufferedReader(i);

	String buf = br.readLine();
	x = Integer.parseInt(buf);
	syo = (int)Math.pow(x,3);

	System.out.println(syo);
    }
}