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