N, K = map(int, input().split()) print(int(N / (K + 1) + 1))