x, y = list(map(int, input().split()))



a = []

t = x

while True:

    if t > y:

        break

    a.append(t)

    t *= 2



print((len(a)))
x, y = list(map(int, input().split()))

total = 1

now = x

while now*2 <= y:

    now *= 2

    total += 1

print(total)
x, y = list(map(int, input().split()))
a = []
t = x
while True:
    if t > y:
        break
    a.append(t)
    t *= 2
print((len(a)))

x, y = list(map(int, input().split()))
total = 1
now = x
while now * 2 <= y:
    now *= 2
    total += 1
print(total)

-a = [] -t = x -while True: -    if t > y: -        break -    a.append(t) -    t *= 2 -print((len(a))) +total = 1 +now = x +while now * 2 <= y: +    now *= 2 +    total += 1 +print(total)