k, n, f = map(int, input().split()) a = [int(i) for i in input().split()] asum = sum(a) if k * n - asum < 0 : print(-1) else: print (k * n - asum)