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