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