k, n, f = map(int, input().split()) total_beans = k * n text = input() for i in range(f): age = int(text.split()[i]) total_beans -= age if total_beans >= 0: print(total_beans) else: print(-1)