k,n,f=map(int,input().split()) a=list(map(int,input().split())) mame=k*n if sum(a)>mame: print("-1") else: print(mame-sum(a))