#include <iostream>
#include <algorithm>
#include <iterator>
#include <string>
#include <math.h>
#include <vector>
#include <set>
#include <map>
using namespace std;
int main() {
int t, h, ans;
cin >> h >> t;
ans = 0;
while (t <= h) {
t += t;
ans++;
}
cout << ans;
return 0;
}