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