import math from decimal import * N, K = map(Decimal, input().split()) print(math.ceil(N / (K + 1)))