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