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