K,N,F=map(int,(input().split())) a=K*N-sum(int(i) for i in input().split()) print(a if a>=0 else -1)