k, n, f = map(int, input().split()) al = list(map(int, input().split())) s = k*n t = sum(al) if s >= t: print(s-t) else: print(-1) # %%