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