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