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