k, n, f = input().split() beans_total = int(k) * int(n) years = [int(i) for i in input().split()] years_total = sum(years) if beans_total < years_total: print(-1) else: print(beans_total - years_total)