#include using namespace std; int main() { unsigned long long n; unsigned long long k; cin >> n >> k; cout << n / (k + 1) + 1 << endl; return 0; }