K, N, F = map(int, input().split()) A = list(map(int, input().split())) w = 0 for x in A: w += x if K * N - w < 0: print(-1) else: print(K * N - w)