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