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