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