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