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