import re



c=eval(input())

clist=re.findall("\d+",c)

a=int(clist[0])

b=int(clist[1])

for i in range(1,b+1):

    if a*(2**i)<=b:

        continue

    else:

        print(i)

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

cnt = 0;

while x <= y:

    cnt += 1

    x *= 2

print(cnt)
import re

c = eval(input())
clist = re.findall("\d+", c)
a = int(clist[0])
b = int(clist[1])
for i in range(1, b + 1):
    if a * (2**i) <= b:
        continue
    else:
        print(i)
        break

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

-import re - -c = eval(input()) -clist = re.findall("\d+", c) -a = int(clist[0]) -b = int(clist[1]) -for i in range(1, b + 1): -    if a * (2**i) <= b: -        continue -    else: -        print(i) -        break +x, y = list(map(int, input().split())) +cnt = 0 +while x <= y: +    cnt += 1 +    x *= 2 +print(cnt)