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