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