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