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