N,K = [int(i) for i in input().split()] print(N//(K+1)+1)