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