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