For this Question: There is an integer q is given as input.You are asked q queries each of which can be of type 1 or type 2. 
Type 1 : Report the area of square having side length S.
Type 2 : Report the area of rectangle of having side lengths L and R.The first line of the input contains single integer Q, number of queries.
Next Q line contains the queries. 
Each query first contains type of query
If query is of type one then you are given a single integer S as input.
If query is of type two then you are given two integers L and R as input.

Constraints
1 <= Q <= 25
1 <= T <= 2
1 <= S, L, R <= 10<sup>3</sup>Output Q line each containing answer to the asked query.Sample Input
2
2 5 4
1 5

Sample Output
20
25, I have written this Solution Code: import java.io.*;
import java.util.*;



class Main {
	public static void main (String[] args) throws IOException {
		BufferedReader inputReader = new BufferedReader(new InputStreamReader(System.in));
		int queries = Integer.parseInt(inputReader.readLine());
		for(int q = 0; q < queries; q++) {
			String[] inputNums = inputReader.readLine().trim().split(" ");
			if(Integer.parseInt(inputNums[0]) == 1) {
				System.out.println(Integer.parseInt(inputNums[1]) * Integer.parseInt(inputNums[1]));
			} else if (Integer.parseInt(inputNums[0]) == 2) {
				System.out.println(Integer.parseInt(inputNums[1]) * Integer.parseInt(inputNums[2]));
			}
		}
	}
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?