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