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