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