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