a,b=map(int,input().split()) out=a//(b+1) if a%(b+1):out+=1 print(out)