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