There is a song concert going to happen in the city. The price of each ticket is equal to the number obtained after reversing the bits of a given 32 bits unsigned integer ‘n’.
Input Format :
The first line of input contains an integer ‘T’, denoting the number of test cases.
The first line of each test case contains a single unsigned integer ‘N’ whose bits are to be reversed.
Output Format :
For each test case, print the number obtained after reversing the bits.
Print the output for each test case in a separate line.
Note :
You do not need to print anything. It has already been taken care of. Just implement the given function.