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