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