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