k,n,f=map(int,input().split()) a=sum(list(map(int,input().split()))) f=k*n-a print((-1) if f<0 else f)