


If the given number is 10 with the binary representation: 1010
The rightmost set bit would be 2 (counted from right).
The first line of input contains a single integer T, representing the number of test cases or queries to be run.
Then the T test cases follow.
The first line of each test case contains a single integer N.
For each test case, print the position of the rightmost set bit.
1 ≤ T ≤ 100
1 ≤ N ≤ 10^9
Time Limit : 1 sec
You are not required to print the expected output, it has already been taken care of. Just implement the function.
Pair Product Div by K
Pair Product Div by K
Merge Two Sorted Arrays Without Extra Space
Merge Two Sorted Arrays Without Extra Space
Co-Prime
First Digit One
Special Digit Numbers