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