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