K, N, F = map(int, raw_input().split()) A = map(int, raw_input().split()) # number of peas needed P = 0 for i in range (0, len(A)): P = P + A[i] if P <= K*N : print K*N-P else: print -1