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