#include<stdio.h>

int main(void){
	unsigned long long int n,k;
	scanf("%llu%llu",&n,&k);
	printf("%llu\n",(n/(k+1))+1);
	return 0;
}