import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int hit = sc.nextInt(); int mem = sc.nextInt(); int ans = 0; int hit2 = hit-hit%(mem+1); ans=hit2/(mem+1); System.out.println(ans+1); } }