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