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