import sys

def input(): return sys.stdin.readline().strip()



def resolve():

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

    cnt=0

    while x<=y:

        x=x*2

        cnt+=1

    print(cnt)

resolve()
import sys

def input(): return sys.stdin.readline().strip()



def resolve():

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

    cnt=1

    while x<=y:

        x*=2

        cnt+=1

    print((cnt-1))

resolve()
import sys


def input():
    return sys.stdin.readline().strip()


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


resolve()

import sys


def input():
    return sys.stdin.readline().strip()


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


resolve()

-    cnt = 0 +    cnt = 1 -        x = x * 2 +        x *= 2 -    print(cnt) +    print((cnt - 1))