#include <bits/stdc++.h>
using namespace std;
int main() {
  int a = 0, B = 0, i = 0, c = 1;
  cin >> a;
  cin >> B;
  while (c == 1) {
    i++;
    B = i * (B * 2);
    a = i * (a * 3);
    if (a <= B)
      c = 1;
    else
      break;
  }
  cout << i;
  return 0;
}
