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

class Main {
	public static void main(String[] args) {
		try{
			BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
			String str;
			if((str = stdReader.readLine()) != null)
			{
				int x = Integer.parseInt(str);
				System.out.println(x*x*x);
			}
			
		}
		catch (Exception e)
		{
			e.getStackTrace();
			System.exit(0);
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {
	public static void main(String[] args) {
		try{
			BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
			String str;
			if((str = stdReader.readLine()) != null)
			{
				int x = Integer.parseInt(str);
				System.out.println(x*x*x);
			}
			
		}
		catch (Exception e)
		{
			e.getStackTrace();
			System.exit(0);
		}
	}
} Main public static void main(String[] args) {
		try{
			BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
			String str;
			if((str = stdReader.readLine()) != null)
			{
				int x = Integer.parseInt(str);
				System.out.println(x*x*x);
			}
			
		}
		catch (Exception e)
		{
			e.getStackTrace();
			System.exit(0);
		}
	} main {
		try{
			BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
			String str;
			if((str = stdReader.readLine()) != null)
			{
				int x = Integer.parseInt(str);
				System.out.println(x*x*x);
			}
			
		}
		catch (Exception e)
		{
			e.getStackTrace();
			System.exit(0);
		}
	} try{
			BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
			String str;
			if((str = stdReader.readLine()) != null)
			{
				int x = Integer.parseInt(str);
				System.out.println(x*x*x);
			}
			
		}
		catch (Exception e)
		{
			e.getStackTrace();
			System.exit(0);
		} catch (Exception e)
		{
			e.getStackTrace();
			System.exit(0);
		} Exception e {
			e.getStackTrace();
			System.exit(0);
		} e.getStackTrace() e.getStackTrace e System.exit(0) System.exit System 0 {
			BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
			String str;
			if((str = stdReader.readLine()) != null)
			{
				int x = Integer.parseInt(str);
				System.out.println(x*x*x);
			}
			
		} BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in)); stdReader new BufferedReader(new InputStreamReader(System.in)) String str; str if((str = stdReader.readLine()) != null)
			{
				int x = Integer.parseInt(str);
				System.out.println(x*x*x);
			} (str = stdReader.readLine()) != null (str = stdReader.readLine()) str stdReader.readLine() stdReader.readLine stdReader null {
				int x = Integer.parseInt(str);
				System.out.println(x*x*x);
			} int x = Integer.parseInt(str); x Integer.parseInt(str) Integer.parseInt Integer str System.out.println(x*x*x) System.out.println System.out System System.out x*x*x x*x*x x x x String[] args args
import java.io.BufferedReader;
import java.io.InputStreamReader;

class Main {
	public static void main(String[] args) {
		try{
			BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
			String str;
			if((str = stdReader.readLine()) != null)
			{
				int x = Integer.parseInt(str);
				System.out.println(x*x*x);
			}
			
		}
		catch (Exception e)
		{
			e.getStackTrace();
			System.exit(0);
		}
	}
}