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