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