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