#include<iostream>
using namespace std;
int main(){
int h, t;
cin >> h;
cin >> t;
int counter = 0;
if (t <= h) {
for (int i = 0; i < 100; i++) {
t = t * 2;
counter++;
if (t > h) break;
}
cout << counter;
}
else
cout << 0;
}