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