k, n, f = map(int, input().split()) a = list(map(int, input().split())) if sum(a) <= k * n: ans = k * n - sum(a) else: ans = -1 print(ans)