import java.io.*;
class Main{
	public static void main (String[] args)throws IOException{
		int x, sum=0, i;
		
		BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
		x = Integer.parseInt(d.readLine());
		sum =x;
		
		for(i=1; i<3; i++){
			sum *= x;
		}
		System.out.println(sum);
	}
} import java.io.*; io.* java class Main{
	public static void main (String[] args)throws IOException{
		int x, sum=0, i;
		
		BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
		x = Integer.parseInt(d.readLine());
		sum =x;
		
		for(i=1; i<3; i++){
			sum *= x;
		}
		System.out.println(sum);
	}
} Main public static void main (String[] args)throws IOException{
		int x, sum=0, i;
		
		BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
		x = Integer.parseInt(d.readLine());
		sum =x;
		
		for(i=1; i<3; i++){
			sum *= x;
		}
		System.out.println(sum);
	} main {
		int x, sum=0, i;
		
		BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
		x = Integer.parseInt(d.readLine());
		sum =x;
		
		for(i=1; i<3; i++){
			sum *= x;
		}
		System.out.println(sum);
	} int x x sum=0 sum 0 i; i BufferedReader d =new BufferedReader(new InputStreamReader(System.in)); d new BufferedReader(new InputStreamReader(System.in)) x = Integer.parseInt(d.readLine()) x Integer.parseInt(d.readLine()) Integer.parseInt Integer d.readLine() d.readLine d sum =x sum x for(i=1; i<3; i++){
			sum *= x;
		} i=1; i=1 i 1 i<3 i 3 i++ i++ i {
			sum *= x;
		} {
			sum *= x;
		} sum *= x sum x System.out.println(sum) System.out.println System.out System System.out sum String[] args args
import java.io.*;
class Main{
	public static void main (String[] args)throws IOException{
		int x, sum=0, i;
		
		BufferedReader d =new BufferedReader(new InputStreamReader(System.in));
		x = Integer.parseInt(d.readLine());
		sum =x;
		
		for(i=1; i<3; i++){
			sum *= x;
		}
		System.out.println(sum);
	}
}