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