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