How to collate booking numbers from a list?