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