a. The police had a list of the people who were in the building up to five o'clock.
b. The police had a list of the people who were in the building until five o'clock.
In which of the above sentences
It is possible that some of the people on the list left before five o'clock.
It is possible that some of the people on the list left after five o'clock.
?
Many thanks