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