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