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