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