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