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