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