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