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