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