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