X, Y = list(map(int, input().split()))



ans = 0

math = X

while(math <= Y):

  ans += 1

  math = math * 2



print(ans)
X, Y = list(map(int, input().split()))



ans = []

num = X

while(num <= Y):

  ans.append(num)

  num *= 2



print((len(ans)))

X, Y = list(map(int, input().split()))
ans = 0
math = X
while math <= Y:
    ans += 1
    math = math * 2
print(ans)

X, Y = list(map(int, input().split()))
ans = []
num = X
while num <= Y:
    ans.append(num)
    num *= 2
print((len(ans)))

-ans = 0 -math = X -while math <= Y: -    ans += 1 -    math = math * 2 -print(ans) +ans = [] +num = X +while num <= Y: +    ans.append(num) +    num *= 2 +print((len(ans)))