#include <bits/stdc++.h>
using namespace std;
int main() {
  int r, h;
  cin >> r >> h;
  int ans1 = (2 * h + r) / r;
  int ans2 = 1 + 2 * (int)((2 * h + r * (2 - sqrt(3))) / (2 * r));
  cout << max(ans1, ans2) << endl;
  return 0;
}
