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