#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")  
const int maxn = 110;
using namespace std;
ll x,y;
inline ll read(){
    long long f = 1,sum = 0;
    char ch;
    ch = getchar();
    while(ch<'0'||ch>'9'){
        if(ch=='-') f = -1;
        ch = getchar();
    }
    while(ch>='0'&&ch<='9'){
        sum = sum*10+ch-'0';
        ch = getchar();
    }
    return sum*f;
}

int main(){
    x = read();
    y = read();
    int ans = 0;
    while(x<=y){
        x*=2;
        ans++;
    }
    printf("%d",ans);
    return 0;
}
