
public class Main {

	public static int calc(int num){
		int ans = 1;
		for(int i=0;i<3;i++){
			ans = ans * num;
		}
		return ans;
	}

	public static void main(String[] args){
		int result;

		//System.out.print("You input any number  : ");
		int number = new java.util.Scanner(System.in).nextInt();
		//System.out.print("You input repeat times  : ");
		//double  repeat = new java.util.Scanner(System.in).nextInt();
		result = calc(number);
		System.out.println(result);
	}
} public class Main {

	public static int calc(int num){
		int ans = 1;
		for(int i=0;i<3;i++){
			ans = ans * num;
		}
		return ans;
	}

	public static void main(String[] args){
		int result;

		//System.out.print("You input any number  : ");
		int number = new java.util.Scanner(System.in).nextInt();
		//System.out.print("You input repeat times  : ");
		//double  repeat = new java.util.Scanner(System.in).nextInt();
		result = calc(number);
		System.out.println(result);
	}
} Main public static int calc(int num){
		int ans = 1;
		for(int i=0;i<3;i++){
			ans = ans * num;
		}
		return ans;
	} calc {
		int ans = 1;
		for(int i=0;i<3;i++){
			ans = ans * num;
		}
		return ans;
	} int ans = 1; ans 1 for(int i=0;i<3;i++){
			ans = ans * num;
		} int i=0; int i=0; i 0 i<3 i 3 i++ i++ i {
			ans = ans * num;
		} {
			ans = ans * num;
		} ans = ans * num ans ans * num ans num return ans; ans int num num public static void main(String[] args){
		int result;

		//System.out.print("You input any number  : ");
		int number = new java.util.Scanner(System.in).nextInt();
		//System.out.print("You input repeat times  : ");
		//double  repeat = new java.util.Scanner(System.in).nextInt();
		result = calc(number);
		System.out.println(result);
	} main {
		int result;

		//System.out.print("You input any number  : ");
		int number = new java.util.Scanner(System.in).nextInt();
		//System.out.print("You input repeat times  : ");
		//double  repeat = new java.util.Scanner(System.in).nextInt();
		result = calc(number);
		System.out.println(result);
	} int result; result int number = new java.util.Scanner(System.in).nextInt(); number new java.util.Scanner(System.in).nextInt() new java.util.Scanner(System.in).nextInt new java.util.Scanner(System.in) result = calc(number) result calc(number) calc number System.out.println(result) System.out.println System.out System System.out result String[] args args public class Main {

	public static int calc(int num){
		int ans = 1;
		for(int i=0;i<3;i++){
			ans = ans * num;
		}
		return ans;
	}

	public static void main(String[] args){
		int result;

		//System.out.print("You input any number  : ");
		int number = new java.util.Scanner(System.in).nextInt();
		//System.out.print("You input repeat times  : ");
		//double  repeat = new java.util.Scanner(System.in).nextInt();
		result = calc(number);
		System.out.println(result);
	}
} public class Main {

	public static int calc(int num){
		int ans = 1;
		for(int i=0;i<3;i++){
			ans = ans * num;
		}
		return ans;
	}

	public static void main(String[] args){
		int result;

		//System.out.print("You input any number  : ");
		int number = new java.util.Scanner(System.in).nextInt();
		//System.out.print("You input repeat times  : ");
		//double  repeat = new java.util.Scanner(System.in).nextInt();
		result = calc(number);
		System.out.println(result);
	}
} Main

public class Main {

	public static int calc(int num){
		int ans = 1;
		for(int i=0;i<3;i++){
			ans = ans * num;
		}
		return ans;
	}

	public static void main(String[] args){
		int result;

		//System.out.print("You input any number  : ");
		int number = new java.util.Scanner(System.in).nextInt();
		//System.out.print("You input repeat times  : ");
		//double  repeat = new java.util.Scanner(System.in).nextInt();
		result = calc(number);
		System.out.println(result);
	}
}