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