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