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

print((len(bin(Y//X))-2))
X,Y = list(map(int,input().split()))

ans = 0



while X<=Y:

  ans+=1

  X*=2



print(ans)
X, Y = list(map(int, input().split()))
print((len(bin(Y // X)) - 2))

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

-print((len(bin(Y // X)) - 2)) +ans = 0 +while X <= Y: +    ans += 1 +    X *= 2 +print(ans)