require "bigdecimal" N, K = gets.split.map(&:to_i) puts (N / BigDecimal(K + 1)).ceil