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