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