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