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