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