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