


The first line contains a single integer ‘T’ representing the number of test cases.
The first and only line of each test case contains a single integer ‘N’ denoting the given integer.
Return true if the binary representation of the given number is a palindrome. Else return false.
You do not need to print anything, it has already been taken care of. Just implement the given function.
1 <= ‘T’ <= 100
1 <= ‘N’ <= 10^18
Time Limit : 1 sec
The main idea is to compare bits from the left and right of the given number. If the i-th from left and right are the same move to the next bit else return false.