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