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