k, n, f = map(int, input().split()) A = sum(map(int, input().split())) mame = k * n - A print(mame if mame >= 0 else -1)