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