"use strict";
const main = arg => {
  let N = arg.split(" ")[0]*1;
  let D = arg.split(" ")[1]*1;
  let ans = Math.round(N / (2 * D));
  console.log(ans);
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));
