k,n,f = gets.split.map(&:to_i) a = gets.split.map(&:to_i).inject(:+) puts k * n - a >= 0 ? k * n - a : -1