k, n, f = map(int, input().split()) a = sum(map(int, input().split())) print(max(-1, k * n - a))