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