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