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