let inpt = readLine()!.split(separator: " ").map({Int($0)!}) let ans = inpt[0]/(inpt[1]+1) + 1 print(ans)