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