import java.util.Scanner;
import java.util.NoSuchElementException;

class Main
{
	public static void main(String args[])
	{
		int num = readInt();
		System.out.println(cubic(num));
	}

	private static int readInt()
	{
		Scanner scanner = new Scanner(System.in);
		try
		{
			return scanner.nextInt();
		} catch (NoSuchElementException e)
		{
			System.out.println("Input Error");
			throw e;
		}
	}

	private static int cubic(int num)
	{
		return num * num * num;
	}
} import java.util.Scanner; Scanner java.util import java.util.NoSuchElementException; NoSuchElementException java.util class Main
{
	public static void main(String args[])
	{
		int num = readInt();
		System.out.println(cubic(num));
	}

	private static int readInt()
	{
		Scanner scanner = new Scanner(System.in);
		try
		{
			return scanner.nextInt();
		} catch (NoSuchElementException e)
		{
			System.out.println("Input Error");
			throw e;
		}
	}

	private static int cubic(int num)
	{
		return num * num * num;
	}
} Main public static void main(String args[])
	{
		int num = readInt();
		System.out.println(cubic(num));
	} main {
		int num = readInt();
		System.out.println(cubic(num));
	} int num = readInt(); num readInt() readInt System.out.println(cubic(num)) System.out.println System.out System System.out cubic(num) cubic num String args[] args private static int readInt()
	{
		Scanner scanner = new Scanner(System.in);
		try
		{
			return scanner.nextInt();
		} catch (NoSuchElementException e)
		{
			System.out.println("Input Error");
			throw e;
		}
	} readInt {
		Scanner scanner = new Scanner(System.in);
		try
		{
			return scanner.nextInt();
		} catch (NoSuchElementException e)
		{
			System.out.println("Input Error");
			throw e;
		}
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) try
		{
			return scanner.nextInt();
		} catch (NoSuchElementException e)
		{
			System.out.println("Input Error");
			throw e;
		} catch (NoSuchElementException e)
		{
			System.out.println("Input Error");
			throw e;
		} NoSuchElementException e {
			System.out.println("Input Error");
			throw e;
		} System.out.println("Input Error") System.out.println System.out System System.out "Input Error" throw e; e {
			return scanner.nextInt();
		} return scanner.nextInt(); scanner.nextInt() scanner.nextInt scanner private static int cubic(int num)
	{
		return num * num * num;
	} cubic {
		return num * num * num;
	} return num * num * num; num * num * num num * num * num num num num int num num
import java.util.Scanner;
import java.util.NoSuchElementException;

class Main
{
	public static void main(String args[])
	{
		int num = readInt();
		System.out.println(cubic(num));
	}

	private static int readInt()
	{
		Scanner scanner = new Scanner(System.in);
		try
		{
			return scanner.nextInt();
		} catch (NoSuchElementException e)
		{
			System.out.println("Input Error");
			throw e;
		}
	}

	private static int cubic(int num)
	{
		return num * num * num;
	}
}