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