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