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