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