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