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