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