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