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