K, N, F = map(int, input().strip().split()) A = [int(i) for i in input().strip().split()] total = K*N famtot = sum(A) if famtot > total: print(-1) else: print(total-famtot)