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