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