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