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