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