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