K,N,F =map(int,input().split()) A_sum=sum([int(x) for x in input().split()]) if A_sum > K*N: print(-1) else: print(K*N-A_sum)