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