#include <iostream>
using namespace std;
int main() {
int h, t;
cin >> h >> t;
int count = 0;
if ((1 <= h && h <= 100) && (1 <= t && t <= 100)) {
while (h >= t) {
count++;
t += t;
}
cout << count;
}
return 0;
}