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