You are doing the study of amoeba. There are two types of beakers:
On the first day, they put 1 amoeba in Beaker2 and after every 24 hours the total count of amoeba doubles.
day: 1 2 3 4 5 6 .......count:1 2 4 8 16 32 .......
If on any particular day Beaker2 overflows, then you transfer only N amoeba to Beaker1 and discard the rest of amoeba.
From the next day, you start with 1 amoeba again and repeat the process infinitely. Determine the number of days in which the total count amoeba crosses K (greater or equal).
Note
Input format
Output format
For each test case, print a single line containing the number of days.
Constraints
1≤T≤100002≤N≤1e182≤K≤1e18