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