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