k,n,f = map(int,input().split()) ages = list(map(int,input().split())) total = k*n count = 0 for age in ages: if total < 0: print(-1) break else: total = total-age print(total)