k,n,f=map(int,input().split()) a=list(map(int,input().split())) #print(a) d=k*n for b in a: d-=b if d <0: d=-1 print(d)