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