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