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