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