import math n,k=map(int,input().split()) print(math.ceil(n/(k+1)))