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