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