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