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