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