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