# coding: utf-8



# input

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



# main

count = 0

while x <= y:

    count += 1

    x *= 2



print(count)
# input

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



# main

c = 0

while x <= y:

    x *= 2

    c += 1



print(c)
# coding: utf-8
# input
x, y = list(map(int, input().split()))
# main
count = 0
while x <= y:
    count += 1
    x *= 2
print(count)

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

-# coding: utf-8 -count = 0 +c = 0 -    count += 1 -print(count) +    c += 1 +print(c)