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