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