#include<iostream>
#include<cstdio>
#define ll long long
using namespace std;

int main()
{
    ll x,y;
    cin>>x>>y;
    int s=0;
    while(1)
    {
        if(y>=x) s++;
        else{
            break;
        }
        y=y>>1;
    }
    cout<<s<<endl;
return 0;
}
