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