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