def main(): K, N, F = map(int, input().split()) A = list(map(int, input().split())) beans = K * N for i in A: remain = beans - i if remain < 0: print(-1) else: print(remain) if __name__ == '__main__': main()