#include #define PI 3.14159265359 using namespace std; int main() { int64_t N, K; cin >> N >> K; cout << N / (K + 1) + 1 << endl; }