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