#include using namespace std; #define INF 2000000000 #define MOD 1000000007 typedef long long ll; typedef pair P; int main() { ll n, k; cin >> n >> k; ll ret = n / (k+1) + 1; cout << ret << endl; }