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