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