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