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