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