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