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