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