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