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