import java.io.*; import java.util.*; import java.math.*; public class Solution { public static boolean checkBit(int a,int i) { if((a>>i)%2==1) { return true; } return false; } public static void main(String[] args) { /* Enter your code here. Read input from STDIN. Print output to STDOUT. Your class should be named Solution. */ int tc; Scanner sc= new Scanner(System.in); tc = sc.nextInt(); for(int x =0;x