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