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