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