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