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