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