import sys

input = sys.stdin.readline



x, y = [int(x) for x in input().split()]



ans = 0



while x <= y:

    x *= 2

    ans += 1





print(ans)

import sys

input = lambda: sys.stdin.readline().rstrip()

 

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



cnt = 1



while True:

    if x*2 <= y:

        cnt += 1

        x *= 2

    else:

        break

print(cnt)

import sys

input = sys.stdin.readline
x, y = [int(x) for x in input().split()]
ans = 0
while x <= y:
    x *= 2
    ans += 1
print(ans)

import sys

input = lambda: sys.stdin.readline().rstrip()
x, y = list(map(int, input().split()))
cnt = 1
while True:
    if x * 2 <= y:
        cnt += 1
        x *= 2
    else:
        break
print(cnt)

-input = sys.stdin.readline -x, y = [int(x) for x in input().split()] -ans = 0 -while x <= y: -    x *= 2 -    ans += 1 -print(ans) +input = lambda: sys.stdin.readline().rstrip() +x, y = list(map(int, input().split())) +cnt = 1 +while True: +    if x * 2 <= y: +        cnt += 1 +        x *= 2 +    else: +        break +print(cnt)