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