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