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