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