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