import sequtils, strutils let n: seq[int] = stdin.readline.split.map(parseInt) ans: int = n[0] div (n[1] + 1) + 1 echo ans