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