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