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