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