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