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