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