K, N, F = map(int, inport().split()) A = list( map(int, inport().split()) ) sumA = sum(A) if sumA > K * N: print(-1) else: print(K*N-sumA)