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