K,N,F=map(int,input().split()) mame=K*N age=list(map(int,input().split())) agesum=sum(age) if agesum<=mame: print(mame-agesum) else: print("-1")