There are 7 baskets on the table. Each basket has 0, 9, 18, 1, 5, 16 and 8 apples. John chose fourth, Emma chose third, Sean chose fifth, Olivia chose second, Matt chose first, Noah chose sixth, and Liam chose seventh. How many apples did Liam and John choose in total?