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