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