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