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