object Main {
	def main(args: Array[String]): Unit = {
		val str = io.StdIn.readLine().split(" ")
		val nums = str.map(_.toDouble)
		val see = (nums(1) * 2) + 1
		println(math.ceil(nums(0) / see).toInt)
	}
}