b1, b2, N = map(int, input().split()) y = list(map(int, input().split())) b = b1 * b2 sy = sum(y) a = (b - sy if b >= sy else -1) print(a)