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