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