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