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