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