#include<cstdio>  
#include<cstring>  
#include<string>  
#include<algorithm>  
#include<iostream>  
#include<cmath>  
#include<cstdlib>  
#include<ctime>  
#include<map>  
#include<queue>  
#include<vector>  
#include<stack>  
#include<set>  
#define pa pair<int,int>  
#define INF 0x3f3f3f3f  
#define inf 0x3f  
#define fi first  
#define se second  
#define mp make_pair  
#define ll long long  
#define ull unsigned long long  
#define pb push_back  
#define pause system("pause")  
  
using namespace std;  
  
inline ll read()  
{  
    long long f=1,sum=0;  
    char c=getchar();  
    while (c<'0' || c>'9')  
    {  
        if (c=='-') f=-1;  
        c=getchar();  
    }     
    while (c>='0' && c<='9')  
    {  
        sum=sum*10+c-'0';  
        c=getchar();  
    }  
    return sum*f;  
}  
int main()  
{  
    ll l=read(),r=read();  
    int ans=0;  
    while (r>=l) l*=2,ans++;   
    cout<<ans;  
    return 0;  
}  