k, n, _f = gets.split.map(&:to_i) a = gets.split.map(&:to_i) puts [k * n - a.sum, -1].max