read=lambda :map(int,input().split()) k,n,f=read() v=k*n-sum(read()) print(v if v>=0 else -1)