K, N, F= map(int, input().split()) A = list(map(int, input().split())) S = K * N - sum(A) if S >= 0: print(S) else: print(-1)