import java.io.*;

class Main
{
	public static void main(String args[])
	{
		try
		{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

			int x = Integer.parseInt(br.readLine());

			x *= x*x;

			System.out.println(x);

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

			int x = Integer.parseInt(br.readLine());

			x *= x*x;

			System.out.println(x);

		}
		catch(Exception e)
		{
			System.out.println(e);
		}
	}
} Main public static void main(String args[])
	{
		try
		{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

			int x = Integer.parseInt(br.readLine());

			x *= x*x;

			System.out.println(x);

		}
		catch(Exception e)
		{
			System.out.println(e);
		}
	} main {
		try
		{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

			int x = Integer.parseInt(br.readLine());

			x *= x*x;

			System.out.println(x);

		}
		catch(Exception e)
		{
			System.out.println(e);
		}
	} try
		{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

			int x = Integer.parseInt(br.readLine());

			x *= x*x;

			System.out.println(x);

		}
		catch(Exception e)
		{
			System.out.println(e);
		} catch(Exception e)
		{
			System.out.println(e);
		} Exception e {
			System.out.println(e);
		} System.out.println(e) System.out.println System.out System System.out e {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

			int x = Integer.parseInt(br.readLine());

			x *= x*x;

			System.out.println(x);

		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) int x = Integer.parseInt(br.readLine()); x Integer.parseInt(br.readLine()) Integer.parseInt Integer br.readLine() br.readLine br x *= x*x x x*x x x System.out.println(x) System.out.println System.out System System.out x String args[] args
import java.io.*;

class Main
{
	public static void main(String args[])
	{
		try
		{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

			int x = Integer.parseInt(br.readLine());

			x *= x*x;

			System.out.println(x);

		}
		catch(Exception e)
		{
			System.out.println(e);
		}
	}
}