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