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