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