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