K, N, F = (int(i) for i in input().split()) A = [int(i) for i in input().split()] print(K * N - sum(A) if sum(A) <= K * N else -1)