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