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