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