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