import java.io.*;
class Main
{
    public static void main(String[] args) 
    {
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String line=null;
	try {
	    line = br.readLine();
	} catch (IOException e){
	    System.out.println(e);
	}

	int x = Integer.parseInt(line);
	int y = x * x * x;
	System.out.println(y);
    }
} import java.io.*; io.* java class Main
{
    public static void main(String[] args) 
    {
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String line=null;
	try {
	    line = br.readLine();
	} catch (IOException e){
	    System.out.println(e);
	}

	int x = Integer.parseInt(line);
	int y = x * x * x;
	System.out.println(y);
    }
} Main public static void main(String[] args) 
    {
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String line=null;
	try {
	    line = br.readLine();
	} catch (IOException e){
	    System.out.println(e);
	}

	int x = Integer.parseInt(line);
	int y = x * x * x;
	System.out.println(y);
    } main {
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String line=null;
	try {
	    line = br.readLine();
	} catch (IOException e){
	    System.out.println(e);
	}

	int x = Integer.parseInt(line);
	int y = x * x * x;
	System.out.println(y);
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String line=null; line null try {
	    line = br.readLine();
	} catch (IOException e){
	    System.out.println(e);
	} catch (IOException e){
	    System.out.println(e);
	} IOException e {
	    System.out.println(e);
	} System.out.println(e) System.out.println System.out System System.out e {
	    line = br.readLine();
	} line = br.readLine() line br.readLine() br.readLine br int x = Integer.parseInt(line); x Integer.parseInt(line) Integer.parseInt Integer line int y = x * x * x; y x * x * x x * x * x x x x System.out.println(y) System.out.println System.out System System.out y String[] args args
import java.io.*;
class Main
{
    public static void main(String[] args) 
    {
	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	String line=null;
	try {
	    line = br.readLine();
	} catch (IOException e){
	    System.out.println(e);
	}

	int x = Integer.parseInt(line);
	int y = x * x * x;
	System.out.println(y);
    }
}