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