#include <bits/stdc++.h>
using namespace std;
int main(){
    long long a,b,tol=0,num;
    cin >> a >> b;
    num=a;
    while(num<=b){
        num*=2;
        tol++;
    }
    cout << tol <<endl;
    return 0;
}
