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