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