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