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