k, n, f = [int(x) for x in input().split()] a = [int(x) for x in input().split()] print(k * n - sum(a) if k * n - sum(a) >= 0 else str(-1))