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