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