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