#include using namespace std; #define int long long signed main(){ int n, k; cin >> n >> k; k++; cout << (n + k - 1) / k << endl; }