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