b , a = gets.split i = b.to_i % a.to_i j = b.to_i / a.to_i if i >= 0 puts j + 1 else puts j end