For this Question: Given an integer, print whether that integer is a prime number or not.First line of input contains an integer T, showing the number of test cases. Every test case is a single integer A. 

Constraints
1 <= T <= 100
1 <= A <= 10^8If the given integer is prime, print 'Yes', else print 'No'.Sample Input
3
5
9 
13

Output
Yes
No
Yes, I have written this Solution Code: import java.io.*;
import java.util.*;



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

					  try{

					  BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
					  int testcase = Integer.parseInt(br.readLine());
					  for(int t=0;t<testcase;t++){
						  int num = Integer.parseInt(br.readLine().trim());
						  if(num==1)
						  System.out.println("No");
						  else if(num<=3)
						  System.out.println("Yes");
                          else{
							  if((num%2==0)||(num%3==0))
							   	System.out.println("No");
					     	  else{
								   int flag=0;
								for(int i=5;i*i<=num;i+=6){
							  		if(((num%i)==0)||(num%(i+2)==0)){
                                       System.out.println("No");
									   flag=1;
									   break;
									  }
								}
								if(flag==0)
							    System.out.println("Yes");
							}
						  }

					   }
					  }catch (Exception e) {
                      System.out.println("I caught: " + e);
					  }


	}
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?