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