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