import java.util.Scanner;


public class Main {

	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);

		int base = sc.nextInt();

		long cube = (long)base*base*base;
		System.out.println(cube);

		sc.close();
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);

		int base = sc.nextInt();

		long cube = (long)base*base*base;
		System.out.println(cube);

		sc.close();
	}

} Main public static void main(String[] args){

		Scanner sc = new Scanner(System.in);

		int base = sc.nextInt();

		long cube = (long)base*base*base;
		System.out.println(cube);

		sc.close();
	} main {

		Scanner sc = new Scanner(System.in);

		int base = sc.nextInt();

		long cube = (long)base*base*base;
		System.out.println(cube);

		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int base = sc.nextInt(); base sc.nextInt() sc.nextInt sc long cube = (long)base*base*base; cube (long)base*base*base (long)base*base*base (long)base base base System.out.println(cube) System.out.println System.out System System.out cube sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);

		int base = sc.nextInt();

		long cube = (long)base*base*base;
		System.out.println(cube);

		sc.close();
	}

} public class Main {

	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);

		int base = sc.nextInt();

		long cube = (long)base*base*base;
		System.out.println(cube);

		sc.close();
	}

} Main
import java.util.Scanner;


public class Main {

	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);

		int base = sc.nextInt();

		long cube = (long)base*base*base;
		System.out.println(cube);

		sc.close();
	}

}