import java.util.Scanner; public class MVP { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); long k = sc.nextLong(); System.out.println(n / (k + 1) + 1); } }