/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
public class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
		BufferedReader stdReader =
        	new BufferedReader(new InputStreamReader(System.in));
      	String line;
      	
      	line = stdReader.readLine();
      	int x = Integer.parseInt(line);
      	
      	System.out.println(x * x * x);
      	
      	stdReader.close();
	}
} import java.util.*; util.* java import java.lang.*; lang.* java import java.io.*; io.* java public class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
		BufferedReader stdReader =
        	new BufferedReader(new InputStreamReader(System.in));
      	String line;
      	
      	line = stdReader.readLine();
      	int x = Integer.parseInt(line);
      	
      	System.out.println(x * x * x);
      	
      	stdReader.close();
	}
} Main public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
		BufferedReader stdReader =
        	new BufferedReader(new InputStreamReader(System.in));
      	String line;
      	
      	line = stdReader.readLine();
      	int x = Integer.parseInt(line);
      	
      	System.out.println(x * x * x);
      	
      	stdReader.close();
	} main {
		// your code goes here
		BufferedReader stdReader =
        	new BufferedReader(new InputStreamReader(System.in));
      	String line;
      	
      	line = stdReader.readLine();
      	int x = Integer.parseInt(line);
      	
      	System.out.println(x * x * x);
      	
      	stdReader.close();
	} BufferedReader stdReader =
        	new BufferedReader(new InputStreamReader(System.in)); stdReader new BufferedReader(new InputStreamReader(System.in)) String line; line line = stdReader.readLine() line stdReader.readLine() stdReader.readLine stdReader int x = Integer.parseInt(line); x Integer.parseInt(line) Integer.parseInt Integer line System.out.println(x * x * x) System.out.println System.out System System.out x * x * x x * x * x x x x stdReader.close() stdReader.close stdReader String[] args args public class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
		BufferedReader stdReader =
        	new BufferedReader(new InputStreamReader(System.in));
      	String line;
      	
      	line = stdReader.readLine();
      	int x = Integer.parseInt(line);
      	
      	System.out.println(x * x * x);
      	
      	stdReader.close();
	}
} public class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
		BufferedReader stdReader =
        	new BufferedReader(new InputStreamReader(System.in));
      	String line;
      	
      	line = stdReader.readLine();
      	int x = Integer.parseInt(line);
      	
      	System.out.println(x * x * x);
      	
      	stdReader.close();
	}
} Main
/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
public class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
		BufferedReader stdReader =
        	new BufferedReader(new InputStreamReader(System.in));
      	String line;
      	
      	line = stdReader.readLine();
      	int x = Integer.parseInt(line);
      	
      	System.out.println(x * x * x);
      	
      	stdReader.close();
	}
}