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