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