import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines sys.setrecursionlimit(10 ** 7) n, k, f = map(int, readline().split()) a = list(map(int, readline().split())) print(max(-1, n * k - sum(a)))