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