As a token of his gratitude, Takahashi has decided to give his mother an integer sequence. The sequence A needs to satisfy the conditions below:    * A consists of integers between X and Y (inclusive).   * For each 1\leq i \leq |A|-1, A_{i+1} is a multiple of A_i and strictly greater than A_i.  Find the maximum possible length of the sequence.
X, Y = map(int,input().split())
length = 1
P = X
while(P <= Y):
    P = 2*P
    print(P)
    length += 1

length = length -1
print(length)
X, Y = map(int,input().split())
length = 1
P = X
while(P <= Y):
    P = 2*P
    length += 1

length = length -1
print(length)