#!/usr/bin/python2 # -*- coding: utf-8 -*- # † n, k = map(int, raw_input().split()) res = n / (k+1) + 1 print res