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