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