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

ans=0

for i in range(10000):

  if X*2**i > Y:

    print(i)

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

ans=0

for i in range(100):

  if X*(2**i) > Y:

    print(i)

    break
X, Y = list(map(int, input().split()))
ans = 0
for i in range(10000):
    if X * 2**i > Y:
        print(i)
        break

X, Y = list(map(int, input().split()))
ans = 0
for i in range(100):
    if X * (2**i) > Y:
        print(i)
        break

-for i in range(10000): -    if X * 2**i > Y: +for i in range(100): +    if X * (2**i) > Y: