#include using namespace std; int main(void){ // Here your code ! long long int N,K; cin >> N >> K; cout << (N+K)/(K+1) << endl; }