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