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