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