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