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