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