k, n, f = map(int, input().split()) A = list(map(int, input().split())) sumA = sum(A) if sumA > k * n: print(-1) else: print(k * n - sumA)