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