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