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