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