import java.io.*;
public class Main{
    public static void main(String[] args) throws IOException
    {
	InputStreamReader isr = new InputStreamReader(System.in);
	BufferedReader br = new BufferedReader(isr);
	String buf = br.readLine();
	int num = Integer.parseInt(buf);

	num = (int)Math.pow(num,3);
	System.out.println(num);
    }
} import java.io.*; io.* java public class Main{
    public static void main(String[] args) throws IOException
    {
	InputStreamReader isr = new InputStreamReader(System.in);
	BufferedReader br = new BufferedReader(isr);
	String buf = br.readLine();
	int num = Integer.parseInt(buf);

	num = (int)Math.pow(num,3);
	System.out.println(num);
    }
} Main public static void main(String[] args) throws IOException
    {
	InputStreamReader isr = new InputStreamReader(System.in);
	BufferedReader br = new BufferedReader(isr);
	String buf = br.readLine();
	int num = Integer.parseInt(buf);

	num = (int)Math.pow(num,3);
	System.out.println(num);
    } main {
	InputStreamReader isr = new InputStreamReader(System.in);
	BufferedReader br = new BufferedReader(isr);
	String buf = br.readLine();
	int num = Integer.parseInt(buf);

	num = (int)Math.pow(num,3);
	System.out.println(num);
    } InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) String buf = br.readLine(); buf br.readLine() br.readLine br int num = Integer.parseInt(buf); num Integer.parseInt(buf) Integer.parseInt Integer buf num = (int)Math.pow(num,3) num (int)Math.pow(num,3) Math.pow Math num 3 System.out.println(num) System.out.println System.out System System.out num String[] args args public class Main{
    public static void main(String[] args) throws IOException
    {
	InputStreamReader isr = new InputStreamReader(System.in);
	BufferedReader br = new BufferedReader(isr);
	String buf = br.readLine();
	int num = Integer.parseInt(buf);

	num = (int)Math.pow(num,3);
	System.out.println(num);
    }
} public class Main{
    public static void main(String[] args) throws IOException
    {
	InputStreamReader isr = new InputStreamReader(System.in);
	BufferedReader br = new BufferedReader(isr);
	String buf = br.readLine();
	int num = Integer.parseInt(buf);

	num = (int)Math.pow(num,3);
	System.out.println(num);
    }
} Main
import java.io.*;
public class Main{
    public static void main(String[] args) throws IOException
    {
	InputStreamReader isr = new InputStreamReader(System.in);
	BufferedReader br = new BufferedReader(isr);
	String buf = br.readLine();
	int num = Integer.parseInt(buf);

	num = (int)Math.pow(num,3);
	System.out.println(num);
    }
}