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