import java.util.*;

class Main{

	public static void main(String[] args) {
		Scanner hoge = new Scanner(System.in);
		int d = hoge.nextInt();
		System.out.println(d*d*d);
		
	
	}


} import java.util.*; util.* java class Main{

	public static void main(String[] args) {
		Scanner hoge = new Scanner(System.in);
		int d = hoge.nextInt();
		System.out.println(d*d*d);
		
	
	}


} Main public static void main(String[] args) {
		Scanner hoge = new Scanner(System.in);
		int d = hoge.nextInt();
		System.out.println(d*d*d);
		
	
	} main {
		Scanner hoge = new Scanner(System.in);
		int d = hoge.nextInt();
		System.out.println(d*d*d);
		
	
	} Scanner hoge = new Scanner(System.in); hoge new Scanner(System.in) int d = hoge.nextInt(); d hoge.nextInt() hoge.nextInt hoge System.out.println(d*d*d) System.out.println System.out System System.out d*d*d d*d*d d d d String[] args args
import java.util.*;

class Main{

	public static void main(String[] args) {
		Scanner hoge = new Scanner(System.in);
		int d = hoge.nextInt();
		System.out.println(d*d*d);
		
	
	}


}