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