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