v=gets.to_f a=gets.split.map(&:to_i) puts ((100 / v) - [1, a.sum % v].min).ceil