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