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