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