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