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