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