K, N, F = map(int, input().split()) A = list(map(int, input().split())) X = K*N - sum(A) print([-1, X][X >= 0])