k,n,f = map(int,input().split()) print(max(k*n-sum(map(int,input().split())), -1))