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