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