K, N, F = map(int, input().split()) A = sum(map(int, input().split())) print(max(-1, K * N - A))