import java.util.Scanner;

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

		//Sccaner???????????????????????????????????????
		//System.in??§??\????????±?????????
		Scanner sc = new Scanner(System.in);
		int intA = sc.nextInt();

		//??????????¨?????????????????????????
		double dbAncer = Math.pow(intA, 3);
		int intAncer = (int)dbAncer;
		System.out.println(intAncer);
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String args[]){

		//Sccaner???????????????????????????????????????
		//System.in??§??\????????±?????????
		Scanner sc = new Scanner(System.in);
		int intA = sc.nextInt();

		//??????????¨?????????????????????????
		double dbAncer = Math.pow(intA, 3);
		int intAncer = (int)dbAncer;
		System.out.println(intAncer);
	}
} Main public static void main(String args[]){

		//Sccaner???????????????????????????????????????
		//System.in??§??\????????±?????????
		Scanner sc = new Scanner(System.in);
		int intA = sc.nextInt();

		//??????????¨?????????????????????????
		double dbAncer = Math.pow(intA, 3);
		int intAncer = (int)dbAncer;
		System.out.println(intAncer);
	} main {

		//Sccaner???????????????????????????????????????
		//System.in??§??\????????±?????????
		Scanner sc = new Scanner(System.in);
		int intA = sc.nextInt();

		//??????????¨?????????????????????????
		double dbAncer = Math.pow(intA, 3);
		int intAncer = (int)dbAncer;
		System.out.println(intAncer);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int intA = sc.nextInt(); intA sc.nextInt() sc.nextInt sc double dbAncer = Math.pow(intA, 3); dbAncer Math.pow(intA, 3) Math.pow Math intA 3 int intAncer = (int)dbAncer; intAncer (int)dbAncer System.out.println(intAncer) System.out.println System.out System System.out intAncer String args[] args public class Main{
	public static void main(String args[]){

		//Sccaner???????????????????????????????????????
		//System.in??§??\????????±?????????
		Scanner sc = new Scanner(System.in);
		int intA = sc.nextInt();

		//??????????¨?????????????????????????
		double dbAncer = Math.pow(intA, 3);
		int intAncer = (int)dbAncer;
		System.out.println(intAncer);
	}
} public class Main{
	public static void main(String args[]){

		//Sccaner???????????????????????????????????????
		//System.in??§??\????????±?????????
		Scanner sc = new Scanner(System.in);
		int intA = sc.nextInt();

		//??????????¨?????????????????????????
		double dbAncer = Math.pow(intA, 3);
		int intAncer = (int)dbAncer;
		System.out.println(intAncer);
	}
} Main
import java.util.Scanner;

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

		//Sccaner???????????????????????????????????????
		//System.in??§??\????????±?????????
		Scanner sc = new Scanner(System.in);
		int intA = sc.nextInt();

		//??????????¨?????????????????????????
		double dbAncer = Math.pow(intA, 3);
		int intAncer = (int)dbAncer;
		System.out.println(intAncer);
	}
}