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