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