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