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