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