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