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