k, n, f = map(int, input().split()) a = list(map(int, input().split())) print(max(k * n - sum(a), -1))