K, N, F = map(int, input().split()) A = list(map(int, input().split())) a = sum(A) q = (K * N) - a if q >= 0: print(q) else: print(-1)