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