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