k, n, f = map(int, input().split()) a = list(map(int, input().split())) if k * n >= sum(a): print(k * n - sum(a)) else: print(-1)