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