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