For this Question: You are asked Q questions. For each question, you have to determine whether the given number X can be represented as a sum of two or more consecutive positive integers.The first line contains a single integer, Q, denoting the number of questions
(1≤ Q ≤ 100).
In each of the next Q lines, a positive integer X is given (1 ≤ X ≤ 10^9).For each of the Q questions, print the answer in a single line: If satisfy the given condition then print Yes otherwise print No.sample input:
7
9
2
1
10
20
100
200

sample output:
Yes
No
No
Yes
Yes
Yes
Yes

<b>Explanation</b>
The answer for X=9 is Yes as 9=2+3+4 
The answer for 2 is No (note that (−1)+0+1+2=2 is invalid as only positive integers are allowed)., I have written this Solution Code: import java.io.*;
import java.util.*;



class Main {
	static boolean Check(int n)
    {
        return (((n&(n-1))!=0) && n!=0);
    }

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

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
		for(int i=0 ; i<n ; i++)
		{
			int num = Integer.parseInt(br.readLine());
			System.out.println(Check(num) ? "Yes" : "No");
		}
	}
}, In this Programming Language: Java, Now tell me if this Code is compilable or not?