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