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