n, k = map(int, input().split()) x = n // (k+1) print(x+1)