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