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

result = 0

while x <= y:

  result += 1

  x *= 2

print(result)

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

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

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

-result = 0 -while x <= y: -    result += 1 -    x *= 2 -print(result) +print(((y // x).bit_length()))