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