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