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