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