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