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