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