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