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