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