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