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