k, n, f = [int(x) for x in input().split()] a = [int(x) for x in input().split()] m = k * n aa = sum(a) res = -1 if m >= aa: res = m - aa print(res)