#! ruby a, b = gets.chomp.split.map(&:to_i) r = a % b d = (a - r) / b ans = d + (r > 0 ? 1 : 0) puts ans