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