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