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