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