#include<cstdio>
#include<iostream>
using namespace std;
#include<cmath>
#define ll long long
int main(){
    ll x,y;
    while(~scanf("%lld%lld",&x,&y)){
        double ans = y*1.0/x;
        printf("%d\n",(int)(1+log(ans)/log(2)));
    }
    return 0;
}
