/* -*- coding: utf-8 -*- * * 477.cc: No.477 MVP - yukicoder */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; /* constant */ /* typedef */ typedef long long ll; /* global variables */ /* subroutines */ /* main */ int main() { ll n, k; cin >> n >> k; printf("%lld\n", (n + k) / (k + 1)); return 0; }