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