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