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