k, n, f = map(int, input().split()) A = list(map(int, input().split())) cnt = k * n cnt -= sum(A) if cnt < 0: print(-1) else: print(cnt)