#28641: python 簡單解法


godbottle98@gmail.com (z3 0)


a,b = map(int,input().split())
b = b//a
i = 0
c = 0
while b > 0:
    b = b - 2**i
    i += 1
    c += 1
print(c)