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