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

now=X

num=1

while(now<=Y):

    if now*2>Y:

        break

    now=now*2

    num+=1

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

ans=1

while(2*X<=Y):

    X*=2

    ans+=1

print(ans)

X, Y = list(map(int, input().split()))
now = X
num = 1
while now <= Y:
    if now * 2 > Y:
        break
    now = now * 2
    num += 1
print(num)

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

-now = X -num = 1 -while now <= Y: -    if now * 2 > Y: -        break -    now = now * 2 -    num += 1 -print(num) +ans = 1 +while 2 * X <= Y: +    X *= 2 +    ans += 1 +print(ans)