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