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

i=1

while True:

  x*=2

  if x>y:

    break

  i+=1

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

a=0

while x<=y:

  x*=2

  a+=1

print(a)
x, y = list(map(int, input().split()))
i = 1
while True:
    x *= 2
    if x > y:
        break
    i += 1
print(i)

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

-i = 1 -while True: +a = 0 +while x <= y: -    if x > y: -        break -    i += 1 -print(i) +    a += 1 +print(a)