#include int main() { long long n, k; scanf("%lld %lld", &n, &k); printf("%lld\n", n / (k + 1) + 1); return 0; }