k,n,f = gets.split.map(&:to_i) as = gets.split.map(&:to_i) ans = k * n - as.inject(:+) if ans < 0 puts -1 else puts ans end