k, n, f = map(int, input().split()) age_l = list(map(int, input().split())) tot = k * n tot_age =sum(age_l) if tot_age > tot: print(-1) else: print(tot - tot_age)