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