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