k, n, f = map(int, input().split()) A = list(map(int, input().split())) rest = k*n - sum(A) print(max(rest, -1))