K, N, F = map(int, input().split()) A = list(map(int, input().split())) total = K * N - sum(A) print(-1 if total < 0 else total)