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