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