Just like pickle

아직 제출이 없습니다시간 제한1초메모리 제한1024 MB

문제

Grasshopper is standing on a line at a point with coordinate 00. In one turn it can choose any non-negative integer number kk and jump to the left or to the right to the distance 2k2^k.

Help it to find out what is the minimum number of turns it has to do in order to move from the point with coordinate 00 to the point with coordinate xx.

입력

The first line contains a single integer tt --- a number of test cases (1t100,0001 \le t \le 100\\,000).

Each test case consists of a single line, that contains a single integer xx --- coordinate of a target point for the grasshopper (1018x1018-10^{18} \le x \le 10^{18}).

출력

For each test case output a single integer --- the minimum number of turns that the grasshopper has to do.