K,N,F=map(int,input().split()) M=K*N-sum(int(s) for s in input().split()) print([M,-1][M<0])