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