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