#include<iostream>
#include<cstring>
#include<algorithm>
#include<string>
using namespace std;
#define N 1000000
int gcd(int n, int m)
{
    return m==0?n:gcd(m , n%m);

}
int a[N];
int main()
{
    long long  x,y;
    while(cin >>x >>y)
    {
        long long  sum = 1;
        while(x <=y/2)
        {
            sum ++;
            y/=2;
        }
        cout <<sum <<endl;
    }

    return 0;
}
