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