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