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