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