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