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