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