k, n, f = map(int, input().split()) a = list(map(int, input().split())) sum_a = sum(a) t = k * n if t - sum_a >= 0: print(t - sum_a) else: print(-1)