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