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