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