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