K, N, F = map(int, input().split()) a = list(map(int, input().split())) s = 0 for x in a: s += a[x] if K*N-s >= 0: print(K*N-s) else: print(-1)