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