#include <bits/stdc++.h>
using namespace std;
int main() {
  int h, r, spheres = 0;
  cin >> r >> h;
  spheres = (h / r) * 2;
  if (h % r < r / 2.)
    spheres += 1;
  else {
    spheres += 2;
    if (h % r > 1.732 * r / 2.) spheres += 1;
  }
  cout << spheres;
  return 0;
}
