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

class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		x = x * x * x;
		System.out.println(x);
	}
} import java.util.*; util.* java import java.lang.*; lang.* java import java.io.*; io.* java import java.util.Scanner; Scanner java.util class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		x = x * x * x;
		System.out.println(x);
	}
} Main public static void main (String[] args) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		x = x * x * x;
		System.out.println(x);
	} main {
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		x = x * x * x;
		System.out.println(x);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc x = x * x * x x x * 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.util.*;
import java.lang.*;
import java.io.*;
import java.util.Scanner;

class Main
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		x = x * x * x;
		System.out.println(x);
	}
}