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