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