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