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