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