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