The logical vector

The study subjects arrive in a consecutive order, and they all want to use the elevator in B3, which has a maximum capacity of 630kg.
Adjust the provided code (which tests whether the sum of the weights is >100 kg) to test whether the sum of the weights of the ten subjects is smaller than 630 kg. Can everyone enter the elevator?