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