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