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