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