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