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