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