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