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