K, N, F = map(int, input().split()) array =list(map(int, input().split())) result = K * N - sum(array) print(result if result >= 0 else -1)