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