#include <bits/stdc++.h>
using namespace std;
int r, h, s;
const double x = .8660254;
int main() {
  scanf("%d%d", &r, &h);
  s = (h + r / 2) / r;
  h = h + r - r * s;
  s *= 2;
  if (x * r <= h) s++;
  printf("%d\n", s);
  return 0;
}
