long a,b;main(){scanf("%ld%ld",&a,&b);a=!printf("%ld",~-a/(b+1)+1);}