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