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