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